Uses of Class
org.petitparser.grammar.xml.ast.XmlNode
| Package | Description |
|---|---|
| org.petitparser.grammar.xml |
This package provides a simple XML model and its associated parser.
|
| org.petitparser.grammar.xml.ast |
-
Uses of XmlNode in org.petitparser.grammar.xml
Methods in org.petitparser.grammar.xml that return XmlNode Modifier and Type Method Description XmlNodeXmlBuilder. createAttribute(XmlName name, String text)XmlNodeXmlBuilder. createCDATA(String text)XmlNodeXmlBuilder. createComment(String text)XmlNodeXmlBuilder. createDoctype(String text)XmlNodeXmlBuilder. createDocument(Collection<XmlNode> children)XmlNodeXmlBuilder. createElement(XmlName name, Collection<XmlAttribute> attributes, Collection<XmlNode> children)XmlNodeXmlBuilder. createProcessing(String target, String text)XmlNodeXmlBuilder. createText(String text)Method parameters in org.petitparser.grammar.xml with type arguments of type XmlNode Modifier and Type Method Description XmlNodeXmlBuilder. createDocument(Collection<XmlNode> children) -
Uses of XmlNode in org.petitparser.grammar.xml.ast
Subclasses of XmlNode in org.petitparser.grammar.xml.ast Modifier and Type Class Description classXmlAttributeXML attribute node.classXmlCdataXML text node.classXmlCommentAn XML comment node.classXmlDataAbstract XML data node.classXmlDoctypeXML doctype node.classXmlDocumentXML document node.classXmlElementXML element node.classXmlParentAbstract XML node with actual children.classXmlProcessingXML processing instruction.classXmlTextXML text node.Methods in org.petitparser.grammar.xml.ast that return XmlNode Modifier and Type Method Description XmlNodeXmlNode. getFirstChild()Answer the first child of the receiver ornull.XmlNodeXmlNode. getLastChild()Answer the last child of the receiver ornull.XmlNodeXmlNode. getNextSibling()Answer the next sibling of the receiver ornull.XmlNodeXmlNode. getParent()Answer the parent node of the receiver, ornullif there is none.XmlNodeXmlNode. getPreviousSibling()Answer the previous sibling of the receiver ornull.XmlNodeXmlNode. getRoot()Answer the root of the subtree in which this node is found, whether that's a document or another element.Methods in org.petitparser.grammar.xml.ast that return types with arguments of type XmlNode Modifier and Type Method Description List<XmlNode>XmlNode. getChildren()Answer the child nodes of the receiver.List<XmlNode>XmlParent. getChildren()Iterator<XmlNode>XmlNode. iterator()Answer an iterator over the receiver, all attributes and nested children.Constructor parameters in org.petitparser.grammar.xml.ast with type arguments of type XmlNode Constructor Description XmlDocument(Collection<XmlNode> children)XmlParent(Collection<XmlNode> children)