|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Presents an interface of generic XML element.
Method Summary | |
void |
clear()
Clears the content of this element and restores an initial state. |
CXmlElement |
createChildElement(java.lang.String tagName)
Creates a child element to this one. |
void |
parseChildElements(CXmlScanner scanner)
Parses child elements from input stream. |
void |
parseElement(CXmlScanner scanner)
Parses this element from input stream. |
void |
writeChildElements(java.io.Writer out,
int indent)
Writes child elements of this element to output stream. |
void |
writeElement(java.io.Writer out,
int indent)
Writes this element from output stream. |
Method Detail |
public void clear()
public void parseElement(CXmlScanner scanner) throws CXmlException
scanner
- lexical scanner to parse XML.public void parseChildElements(CXmlScanner scanner) throws CXmlException
scanner
- lexical scanner to parse XML.public void writeElement(java.io.Writer out, int indent) throws java.io.IOException
output
- stream to write this element and all contents.indent
- number of indent spaces.public void writeChildElements(java.io.Writer out, int indent) throws java.io.IOException
output
- stream to write child elemens.indent
- number of indent spaces.public CXmlElement createChildElement(java.lang.String tagName)
tagName
- a name of element tag.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |