|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XmlLowLevelSerializer
Low level XML Serializer.
Method Summary | |
---|---|
void |
writeAttribute(QName name,
String value)
Writes an attribute with the given name and value. |
void |
writeDocTypeDeclaration(QName rootElementName,
String publicId,
String systemId)
Writes the DOCTYPE declaration. |
void |
writeEndElement()
Writes the end tag of the current element. |
void |
writeStartElement(QName name)
Writes the start tag of an element. |
void |
writeStartElement(QName name,
QName dataTypeName)
Writes the start tag of an element. |
void |
writeText(String text,
TextMode textMode)
Writes the given text as the content of the current element if the text is not empty. |
void |
writeXmlDeclaration(String version,
String encoding)
Writes the XML Declaration. |
Methods inherited from interface net.sf.jsefa.common.lowlevel.LowLevelSerializer |
---|
close, flush, open |
Method Detail |
---|
void writeXmlDeclaration(String version, String encoding)
version
- version of the xml documentencoding
- encoding of the xml declaration
LowLevelSerializationException
void writeDocTypeDeclaration(QName rootElementName, String publicId, String systemId)
rootElementName
- the name of the root element.publicId
- the public id - may be nullsystemId
- the system idvoid writeStartElement(QName name)
name
- the name of the element
LowLevelSerializationException
void writeStartElement(QName name, QName dataTypeName)
name
- the name of the elementdataTypeName
- the name of its data type
LowLevelSerializationException
void writeAttribute(QName name, String value)
name
- the attribute namevalue
- the attribute value
LowLevelSerializationException
void writeText(String text, TextMode textMode)
text
- the text.textMode
- the text mode (IMPLICIT/CDATA).
LowLevelSerializationException
void writeEndElement()
LowLevelSerializationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |