|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface SieveToXml.Out
Simple infoset output.
Note that the approach taken to namespaces is slightly different from both QName and SAX.
localPart
parameter gives the
LocalPart
and MUST
be provided in all cases.
When the name is an UnprefixedName,
this is the complete QName.
When the name is a PrefixedName,
the output must combine this with the Prefix
Method Summary | |
---|---|
void |
attribute(java.lang.CharSequence localName,
java.lang.CharSequence uri,
java.lang.CharSequence prefix,
java.lang.CharSequence value)
Outputs a attribute. |
void |
closeElement()
Ends an XML Element. |
void |
content(java.lang.CharSequence text)
Outputs body text. |
void |
openElement(java.lang.CharSequence localName,
java.lang.CharSequence uri,
java.lang.CharSequence prefix)
Starts an XML element. |
Method Detail |
---|
void openElement(java.lang.CharSequence localName, java.lang.CharSequence uri, java.lang.CharSequence prefix) throws java.io.IOException
java.io.IOException
- when output failsvoid attribute(java.lang.CharSequence localName, java.lang.CharSequence uri, java.lang.CharSequence prefix, java.lang.CharSequence value) throws java.io.IOException
value
- unescaped XML attribute content, not null
java.io.IOException
- when output failsvoid content(java.lang.CharSequence text) throws java.io.IOException
text
- unescaped body text, not null
java.io.IOException
- when output failsvoid closeElement() throws java.io.IOException
java.io.IOException
- when output fails
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |