Index
C D E F G H I N O P S T W X
All Classes All Packages
All Classes All Packages
All Classes All Packages
C
- CLOSE_CDATA - Static variable in class org.petitparser.grammar.xml.XmlDefinition
- CLOSE_COMMENT - Static variable in class org.petitparser.grammar.xml.XmlDefinition
- CLOSE_DOCTYPE - Static variable in class org.petitparser.grammar.xml.XmlDefinition
- CLOSE_DOCTYPE_BLOCK - Static variable in class org.petitparser.grammar.xml.XmlDefinition
- CLOSE_ELEMENT - Static variable in class org.petitparser.grammar.xml.XmlDefinition
- CLOSE_END_ELEMENT - Static variable in class org.petitparser.grammar.xml.XmlDefinition
- CLOSE_PROCESSING - Static variable in class org.petitparser.grammar.xml.XmlDefinition
- copy() - Method in class org.petitparser.grammar.xml.XmlCharacterParser
- createAttribute(XmlName, String) - Method in class org.petitparser.grammar.xml.XmlBuilder
- createAttribute(TName, String) - Method in interface org.petitparser.grammar.xml.XmlCallback
- createCDATA(String) - Method in class org.petitparser.grammar.xml.XmlBuilder
- createCDATA(String) - Method in interface org.petitparser.grammar.xml.XmlCallback
- createComment(String) - Method in class org.petitparser.grammar.xml.XmlBuilder
- createComment(String) - Method in interface org.petitparser.grammar.xml.XmlCallback
- createDoctype(String) - Method in class org.petitparser.grammar.xml.XmlBuilder
- createDoctype(String) - Method in interface org.petitparser.grammar.xml.XmlCallback
- createDocument(Collection<XmlNode>) - Method in class org.petitparser.grammar.xml.XmlBuilder
- createDocument(Collection<TNode>) - Method in interface org.petitparser.grammar.xml.XmlCallback
- createElement(XmlName, Collection<XmlAttribute>, Collection<XmlNode>) - Method in class org.petitparser.grammar.xml.XmlBuilder
- createElement(TName, Collection<TAttribute>, Collection<TNode>) - Method in interface org.petitparser.grammar.xml.XmlCallback
- createProcessing(String, String) - Method in class org.petitparser.grammar.xml.XmlBuilder
- createProcessing(String, String) - Method in interface org.petitparser.grammar.xml.XmlCallback
- createQualified(String) - Method in class org.petitparser.grammar.xml.XmlBuilder
- createQualified(String) - Method in interface org.petitparser.grammar.xml.XmlCallback
- createText(String) - Method in class org.petitparser.grammar.xml.XmlBuilder
- createText(String) - Method in interface org.petitparser.grammar.xml.XmlCallback
D
- DOUBLE_QUOTE - Static variable in class org.petitparser.grammar.xml.XmlDefinition
E
- encodeXmlAttributeValue(String) - Static method in class org.petitparser.grammar.xml.XmlCharacterParser
- encodeXmlText(String) - Static method in class org.petitparser.grammar.xml.XmlCharacterParser
- equals(Object) - Method in class org.petitparser.grammar.xml.ast.XmlAttribute
- equals(Object) - Method in class org.petitparser.grammar.xml.ast.XmlData
- equals(Object) - Method in class org.petitparser.grammar.xml.ast.XmlElement
- equals(Object) - Method in class org.petitparser.grammar.xml.ast.XmlName
- equals(Object) - Method in class org.petitparser.grammar.xml.ast.XmlParent
- equals(Object) - Method in class org.petitparser.grammar.xml.ast.XmlProcessing
- EQUALS - Static variable in class org.petitparser.grammar.xml.XmlDefinition
F
- fastParseOn(String, int) - Method in class org.petitparser.grammar.xml.XmlCharacterParser
G
- getAttribute(String) - Method in class org.petitparser.grammar.xml.ast.XmlElement
- getAttributeNode(String) - Method in class org.petitparser.grammar.xml.ast.XmlElement
- getAttributes() - Method in class org.petitparser.grammar.xml.ast.XmlElement
- getAttributes() - Method in class org.petitparser.grammar.xml.ast.XmlNode
-
Answer the attribute nodes of the receiver.
- getChildren() - Method in class org.petitparser.grammar.xml.ast.XmlNode
-
Answer the child nodes of the receiver.
- getChildren() - Method in class org.petitparser.grammar.xml.ast.XmlParent
- getChildren() - Method in class org.petitparser.grammar.xml.XmlCharacterParser
- getData() - Method in class org.petitparser.grammar.xml.ast.XmlData
- getDocument() - Method in class org.petitparser.grammar.xml.ast.XmlDocument
- getDocument() - Method in class org.petitparser.grammar.xml.ast.XmlNode
-
Answer the document that contains this node, or
nullif the node is not part of a document. - getFirstChild() - Method in class org.petitparser.grammar.xml.ast.XmlNode
-
Answer the first child of the receiver or
null. - getLastChild() - Method in class org.petitparser.grammar.xml.ast.XmlNode
-
Answer the last child of the receiver or
null. - getLocal() - Method in class org.petitparser.grammar.xml.ast.XmlName
- getName() - Method in class org.petitparser.grammar.xml.ast.XmlAttribute
- getName() - Method in class org.petitparser.grammar.xml.ast.XmlElement
- getNextSibling() - Method in class org.petitparser.grammar.xml.ast.XmlNode
-
Answer the next sibling of the receiver or
null. - getParent() - Method in class org.petitparser.grammar.xml.ast.XmlNode
-
Answer the parent node of the receiver, or
nullif there is none. - getPrefix() - Method in class org.petitparser.grammar.xml.ast.XmlName
- getPreviousSibling() - Method in class org.petitparser.grammar.xml.ast.XmlNode
-
Answer the previous sibling of the receiver or
null. - getQualified() - Method in class org.petitparser.grammar.xml.ast.XmlName
- getRoot() - Method in class org.petitparser.grammar.xml.ast.XmlNode
-
Answer the root of the subtree in which this node is found, whether that's a document or another element.
- getRootElement() - Method in class org.petitparser.grammar.xml.ast.XmlDocument
- getTarget() - Method in class org.petitparser.grammar.xml.ast.XmlProcessing
- getValue() - Method in class org.petitparser.grammar.xml.ast.XmlAttribute
H
- hashCode() - Method in class org.petitparser.grammar.xml.ast.XmlAttribute
- hashCode() - Method in class org.petitparser.grammar.xml.ast.XmlData
- hashCode() - Method in class org.petitparser.grammar.xml.ast.XmlElement
- hashCode() - Method in class org.petitparser.grammar.xml.ast.XmlName
- hashCode() - Method in class org.petitparser.grammar.xml.ast.XmlParent
- hashCode() - Method in class org.petitparser.grammar.xml.ast.XmlProcessing
I
- iterator() - Method in class org.petitparser.grammar.xml.ast.XmlNode
-
Answer an iterator over the receiver, all attributes and nested children.
N
- NAME_CHARS - Static variable in class org.petitparser.grammar.xml.XmlDefinition
- NAME_START_CHARS - Static variable in class org.petitparser.grammar.xml.XmlDefinition
O
- OPEN_CDATA - Static variable in class org.petitparser.grammar.xml.XmlDefinition
- OPEN_COMMENT - Static variable in class org.petitparser.grammar.xml.XmlDefinition
- OPEN_DOCTYPE - Static variable in class org.petitparser.grammar.xml.XmlDefinition
- OPEN_DOCTYPE_BLOCK - Static variable in class org.petitparser.grammar.xml.XmlDefinition
- OPEN_ELEMENT - Static variable in class org.petitparser.grammar.xml.XmlDefinition
- OPEN_END_ELEMENT - Static variable in class org.petitparser.grammar.xml.XmlDefinition
- OPEN_PROCESSING - Static variable in class org.petitparser.grammar.xml.XmlDefinition
- org.petitparser.grammar.xml - package org.petitparser.grammar.xml
-
This package provides a simple XML model and its associated parser.
- org.petitparser.grammar.xml.ast - package org.petitparser.grammar.xml.ast
P
- parseOn(Context) - Method in class org.petitparser.grammar.xml.XmlCharacterParser
S
- SINGLE_QUOTE - Static variable in class org.petitparser.grammar.xml.XmlDefinition
T
- toString() - Method in class org.petitparser.grammar.xml.ast.XmlName
- toString() - Method in class org.petitparser.grammar.xml.ast.XmlNode
-
Answer a print string of the receiver.
- toXmlString() - Method in class org.petitparser.grammar.xml.ast.XmlName
- toXmlString() - Method in class org.petitparser.grammar.xml.ast.XmlNode
-
Answer an XML string of the receiver.
W
- WHITESPACE - Static variable in class org.petitparser.grammar.xml.XmlDefinition
- writeTo(StringBuilder) - Method in class org.petitparser.grammar.xml.ast.XmlAttribute
- writeTo(StringBuilder) - Method in class org.petitparser.grammar.xml.ast.XmlCdata
- writeTo(StringBuilder) - Method in class org.petitparser.grammar.xml.ast.XmlComment
- writeTo(StringBuilder) - Method in class org.petitparser.grammar.xml.ast.XmlDoctype
- writeTo(StringBuilder) - Method in class org.petitparser.grammar.xml.ast.XmlElement
- writeTo(StringBuilder) - Method in class org.petitparser.grammar.xml.ast.XmlName
- writeTo(StringBuilder) - Method in class org.petitparser.grammar.xml.ast.XmlNode
-
Writes the XML string of the receiver to a
buffer. - writeTo(StringBuilder) - Method in class org.petitparser.grammar.xml.ast.XmlParent
- writeTo(StringBuilder) - Method in class org.petitparser.grammar.xml.ast.XmlProcessing
- writeTo(StringBuilder) - Method in class org.petitparser.grammar.xml.ast.XmlText
X
- XmlAttribute - Class in org.petitparser.grammar.xml.ast
-
XML attribute node.
- XmlAttribute(XmlName, String) - Constructor for class org.petitparser.grammar.xml.ast.XmlAttribute
- XmlBuilder - Class in org.petitparser.grammar.xml
-
Builds the XML AST.
- XmlBuilder() - Constructor for class org.petitparser.grammar.xml.XmlBuilder
- XmlCallback<TName,TNode,TAttribute> - Interface in org.petitparser.grammar.xml
-
Interface with callbacks form the
XmlDefinition. - XmlCdata - Class in org.petitparser.grammar.xml.ast
-
XML text node.
- XmlCdata(String) - Constructor for class org.petitparser.grammar.xml.ast.XmlCdata
- XmlCharacterParser - Class in org.petitparser.grammar.xml
-
Optimized parser to read character data.
- XmlComment - Class in org.petitparser.grammar.xml.ast
-
An XML comment node.
- XmlComment(String) - Constructor for class org.petitparser.grammar.xml.ast.XmlComment
- XmlData - Class in org.petitparser.grammar.xml.ast
-
Abstract XML data node.
- XmlData(String) - Constructor for class org.petitparser.grammar.xml.ast.XmlData
- XmlDefinition<TName,TNode,TAttribute> - Class in org.petitparser.grammar.xml
-
XML grammar definition.
- XmlDefinition(XmlCallback<TName, TNode, TAttribute>) - Constructor for class org.petitparser.grammar.xml.XmlDefinition
- XmlDoctype - Class in org.petitparser.grammar.xml.ast
-
XML doctype node.
- XmlDoctype(String) - Constructor for class org.petitparser.grammar.xml.ast.XmlDoctype
- XmlDocument - Class in org.petitparser.grammar.xml.ast
-
XML document node.
- XmlDocument(Collection<XmlNode>) - Constructor for class org.petitparser.grammar.xml.ast.XmlDocument
- XmlElement - Class in org.petitparser.grammar.xml.ast
-
XML element node.
- XmlElement(XmlName, Collection<XmlAttribute>, Collection<XmlNode>) - Constructor for class org.petitparser.grammar.xml.ast.XmlElement
- XmlName - Class in org.petitparser.grammar.xml.ast
-
XML entity name.
- XmlName(String) - Constructor for class org.petitparser.grammar.xml.ast.XmlName
- XmlNode - Class in org.petitparser.grammar.xml.ast
-
Abstract XML node.
- XmlNode() - Constructor for class org.petitparser.grammar.xml.ast.XmlNode
- XmlParent - Class in org.petitparser.grammar.xml.ast
-
Abstract XML node with actual children.
- XmlParent(Collection<XmlNode>) - Constructor for class org.petitparser.grammar.xml.ast.XmlParent
- XmlParser - Class in org.petitparser.grammar.xml
-
XmlParser Builder
- XmlParser() - Constructor for class org.petitparser.grammar.xml.XmlParser
- XmlProcessing - Class in org.petitparser.grammar.xml.ast
-
XML processing instruction.
- XmlProcessing(String, String) - Constructor for class org.petitparser.grammar.xml.ast.XmlProcessing
- XmlText - Class in org.petitparser.grammar.xml.ast
-
XML text node.
- XmlText(String) - Constructor for class org.petitparser.grammar.xml.ast.XmlText
All Classes All Packages