A C D E G I M N O P R S W X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addAttribute(String, String, String, String) - Method in interface org.gjt.xpp.XmlStartTag
-
parameters modeled after SAX2 attribute approach
- addAttribute(String, String, String, String, boolean) - Method in interface org.gjt.xpp.XmlStartTag
-
Parameter isNamespaceDeclaration if true indicates that attribute is related to namespace management and may be ignored by normal processing
- addDeclaredNamespaces(String[], int, int, String[]) - Method in interface org.gjt.xpp.XmlNode
-
NOTE: node SHOULD NOT keep references to passed arrays!
- addNamespaceDeclaration(String, String) - Method in interface org.gjt.xpp.XmlNode
- appendChild(Object) - Method in interface org.gjt.xpp.XmlNode
C
- children() - Method in interface org.gjt.xpp.XmlNode
- children() - Method in interface org.gjt.xpp.XmlPullNode
-
This is not recommened method to pull children when node is not finished (use readNextChild() instead) as Enumeration interface does not allow to throw XmlPullParserException so any parsing exeption is wrapped into RuntimeException making code more messy...
- column - Variable in exception org.gjt.xpp.XmlPullParserException
- CONTENT - Static variable in interface org.gjt.xpp.XmlPullParser
-
element content was just read
D
- DEFAULT_PROPERTY_NAME - Static variable in class org.gjt.xpp.XmlPullParserFactory
- detail - Variable in exception org.gjt.xpp.XmlPullParserException
E
- END_DOCUMENT - Static variable in interface org.gjt.xpp.XmlPullParser
-
signal logical end of xml document
- END_TAG - Static variable in interface org.gjt.xpp.XmlPullParser
-
end tag was just read
- ensureAttributesCapacity(int) - Method in interface org.gjt.xpp.XmlStartTag
-
Pre-allocate if necessary tag data structure to hold at least minCapacity attributes .
- ensureChildrenCapacity(int) - Method in interface org.gjt.xpp.XmlNode
- ensureDeclaredNamespacesCapacity(int) - Method in interface org.gjt.xpp.XmlNode
G
- getAttributeCount() - Method in interface org.gjt.xpp.XmlStartTag
-
Returns the number of attributes on the current element
- getAttributeLocalName(int) - Method in interface org.gjt.xpp.XmlStartTag
-
Returns the localname of the specified attribute if namespaces enabled or just attribute name if namespaces disabled.
- getAttributeNamespaceUri(int) - Method in interface org.gjt.xpp.XmlStartTag
-
Returns the namespace URI of the specified attribute number index (starts from 0).
- getAttributePrefix(int) - Method in interface org.gjt.xpp.XmlStartTag
-
Returns the prefix of the specified attribute Returns null if invalid index or if element has no prefix.
- getAttributeRawName(int) - Method in interface org.gjt.xpp.XmlStartTag
-
Returns the raw name of the specified attribute Returns null if invalid index.
- getAttributeValue(int) - Method in interface org.gjt.xpp.XmlStartTag
-
Returns the given attributes value Returns null if invalid index.
- getAttributeValueFromName(String, String) - Method in interface org.gjt.xpp.XmlStartTag
-
Returns the given attributes value
- getAttributeValueFromRawName(String) - Method in interface org.gjt.xpp.XmlStartTag
-
Returns the given attributes value Returns null if no attribute with rawName.
- getBufferShrinkOffset() - Method in interface org.gjt.xpp.XmlPullParserBufferControl
- getChildAt(int) - Method in interface org.gjt.xpp.XmlNode
- getChildrenCount() - Method in interface org.gjt.xpp.XmlNode
-
it may need to reconsruct whole subtree to get count ...
- getChildrenCountSoFar() - Method in interface org.gjt.xpp.XmlPullNode
- getColumnNumber() - Method in interface org.gjt.xpp.XmlPullParser
- getColumnNumber() - Method in exception org.gjt.xpp.XmlPullParserException
- getContentLength() - Method in interface org.gjt.xpp.XmlPullParser
-
Return how big is content.
- getDeclaredNamespaceLength() - Method in interface org.gjt.xpp.XmlNode
- getDefaultNamespaceUri() - Method in interface org.gjt.xpp.XmlNode
-
Namesapce URI associated with default namesapce prefix (xmlns='....')
- getDepth() - Method in interface org.gjt.xpp.XmlPullParser
-
Returns the current depth of the element.
- getDetail() - Method in exception org.gjt.xpp.XmlPullParserException
- getEventBuffer() - Method in interface org.gjt.xpp.XmlPullParserEventPosition
-
NOTE: This may be internal buffer and is valud only until call to method next()- do NOT attempt modify !
- getEventEnd() - Method in interface org.gjt.xpp.XmlPullParserEventPosition
- getEventStart() - Method in interface org.gjt.xpp.XmlPullParserEventPosition
- getEventType() - Method in interface org.gjt.xpp.XmlPullParser
-
Returns the type of the current element (START_TAG, END_TAG, CONTENT, etc)
- getHardLimit() - Method in interface org.gjt.xpp.XmlPullParserBufferControl
- getLineNumber() - Method in interface org.gjt.xpp.XmlPullParser
- getLineNumber() - Method in exception org.gjt.xpp.XmlPullParserException
- getLocalName() - Method in interface org.gjt.xpp.XmlPullParser
-
Returns the local name of the current element (current event must be START_TAG or END_TAG)
- getLocalName() - Method in interface org.gjt.xpp.XmlTag
-
Returns the local name of the current element
- getMessage() - Method in exception org.gjt.xpp.XmlPullParserException
- getNamespacesLength(int) - Method in interface org.gjt.xpp.XmlPullParser
- getNamespaceUri() - Method in interface org.gjt.xpp.XmlPullParser
-
Returns the namespace URI of the current element Returns null if not applicable (current event must be START_TAG or END_TAG)
- getNamespaceUri() - Method in interface org.gjt.xpp.XmlTag
-
Returns the namespace URI of the current element Returns null if not applicable
- getOutput() - Method in interface org.gjt.xpp.XmlRecorder
- getParentNode() - Method in interface org.gjt.xpp.XmlNode
- getPosDesc() - Method in interface org.gjt.xpp.XmlPullParser
- getPrefix() - Method in interface org.gjt.xpp.XmlPullParser
-
Returns the prefix of the current element or null if elemet has no prefix.
- getPrefix() - Method in interface org.gjt.xpp.XmlTag
-
Returns the prefix of the current element or null if elemet has no prefix.
- getPullParser() - Method in interface org.gjt.xpp.XmlPullNode
-
Get parser that is use to build this node tree and this pull node becomes finished - the caller is responsibile to move pull parser state to the end tag of this node (or parent pull node will be left in unconsistent state!!!!).
- getQNameLocal(String) - Method in interface org.gjt.xpp.XmlNode
-
Return local part of qname.
- getQNameLocal(String) - Method in interface org.gjt.xpp.XmlPullParser
-
Return local part of qname.
- getQNameUri(String) - Method in interface org.gjt.xpp.XmlNode
-
Return uri part of qname.
- getQNameUri(String) - Method in interface org.gjt.xpp.XmlPullParser
-
Return uri part of qname.
- getRawName() - Method in interface org.gjt.xpp.XmlPullParser
-
Returns the raw name (prefix + ':' + localName) of the current element (current event must be START_TAG or END_TAG)
- getRawName() - Method in interface org.gjt.xpp.XmlTag
-
Returns the raw name (prefix + ':' + localName) of the current element
- getSoftLimit() - Method in interface org.gjt.xpp.XmlPullParserBufferControl
I
- insertChildAt(int, Object) - Method in interface org.gjt.xpp.XmlNode
- isAllowedMixedContent() - Method in interface org.gjt.xpp.XmlPullParser
-
Is mixed element context allowed?
- isAttributeNamespaceDeclaration(int) - Method in interface org.gjt.xpp.XmlStartTag
-
Return true if attribute at index is namespace declaration such as xmlns='...' or xmlns:prefix='...'
- isBufferShrinkable() - Method in interface org.gjt.xpp.XmlPullParserBufferControl
- isEndTagNewLine() - Method in interface org.gjt.xpp.XmlFormatter
-
Should new line be added after end tag?
- isFinished() - Method in interface org.gjt.xpp.XmlPullNode
-
Is pull parsing of node finished.
- isNamespaceAttributesReporting() - Method in interface org.gjt.xpp.XmlPullParser
-
Is parser going to report namespace attributes (xmlns*) ?
- isNamespaceAware() - Method in interface org.gjt.xpp.XmlPullParser
-
Is parser namespace aware?
- isNamespaceAware() - Method in class org.gjt.xpp.XmlPullParserFactory
-
Indicates whether or not the factory is configured to produce parsers which are namespace aware.
- isWhitespaceContent() - Method in interface org.gjt.xpp.XmlPullParser
-
Check if last CONTENT contained only whitespace characters.
M
- modifyTag(String, String, String) - Method in interface org.gjt.xpp.XmlTag
-
Modify tag to have namespace URI, localName and rawName.
N
- namespace2Prefix(String) - Method in interface org.gjt.xpp.XmlNode
-
return prefix for namesapce searching node tree upward.
- newEndTag() - Method in class org.gjt.xpp.XmlPullParserFactory
-
Create new end tag.
- newFormatter() - Method in class org.gjt.xpp.XmlPullParserFactory
-
Return new XML formatter.
- newInstance() - Static method in class org.gjt.xpp.XmlPullParserFactory
-
Get a new instance of a PullParserFactory used to create XPP.
- newInstance(Class) - Static method in class org.gjt.xpp.XmlPullParserFactory
-
Get a new instance of a PullParserFactory used to create XPP.
- newInstance(String) - Static method in class org.gjt.xpp.XmlPullParserFactory
-
Get a new instance of a PullParserFactory from given class name.
- newNode() - Method in interface org.gjt.xpp.XmlNode
-
context sensitive factory method to create the same type of node
- newNode() - Method in interface org.gjt.xpp.XmlPullNode
- newNode() - Method in class org.gjt.xpp.XmlPullParserFactory
-
Return new XML node.
- newNode(String, String) - Method in interface org.gjt.xpp.XmlNode
- newNode(XmlPullParser) - Method in class org.gjt.xpp.XmlPullParserFactory
-
Return new XML node that is represeting tree from current pull parser start tag.
- newPullNode(XmlPullParser) - Method in interface org.gjt.xpp.XmlPullNode
- newPullNode(XmlPullParser) - Method in class org.gjt.xpp.XmlPullParserFactory
-
Return new XML pull node that is represeting tree from current pull parser start tag.
- newPullParser() - Method in class org.gjt.xpp.XmlPullParserFactory
-
Create new XML pull parser.
- newRecorder() - Method in class org.gjt.xpp.XmlPullParserFactory
-
Return new XML recorder.
- newStartTag() - Method in class org.gjt.xpp.XmlPullParserFactory
-
Return new XML start tag.
- next() - Method in interface org.gjt.xpp.XmlPullParser
-
Get next parsing event.
O
- org.gjt.xpp - package org.gjt.xpp
-
This package defines classes compromising public API of XML Pull Parser 2.0 (org.gjt.xpp).
P
- prefix2Namespace(String) - Method in interface org.gjt.xpp.XmlNode
-
return namespace for prefix searching node tree upward.
- printStackTrace() - Method in exception org.gjt.xpp.XmlPullParserException
R
- readChildren() - Method in interface org.gjt.xpp.XmlPullNode
-
Read all reminaing children up to end tag.
- readContent() - Method in interface org.gjt.xpp.XmlPullParser
-
Read current content as Stirng.
- readDeclaredNamespaceUris(String[], int, int) - Method in interface org.gjt.xpp.XmlNode
- readDeclaredPrefixes(String[], int, int) - Method in interface org.gjt.xpp.XmlNode
- readEndTag(XmlEndTag) - Method in interface org.gjt.xpp.XmlPullParser
-
Read current end tag.
- readNamespacesPrefixes(int, String[], int, int) - Method in interface org.gjt.xpp.XmlPullParser
-
Return namespace prefixes for element at depth
- readNamespacesUris(int, String[], int, int) - Method in interface org.gjt.xpp.XmlPullParser
-
Return namespace URIs for element at depth
- readNextChild() - Method in interface org.gjt.xpp.XmlPullNode
-
This is preferred method to pull children (children() requires .wrapping object Enumeration).
- readNode(Reader) - Method in class org.gjt.xpp.XmlPullParserFactory
-
Equivalent to calling readNode(reader, false);
- readNode(Reader, boolean) - Method in class org.gjt.xpp.XmlPullParserFactory
-
Read XmlNode from input - essentially it is utility function that will create instance of pull parser, feed input inpt it and return new node tree parsed form the input.
- readNode(XmlNode) - Method in interface org.gjt.xpp.XmlPullParser
-
Read subtree into node: call readNodeWithoutChildren and then parse subtree adding children (values obtained with readXontent or readNodeWithoutChildren).
- readNodeWithoutChildren(XmlNode) - Method in interface org.gjt.xpp.XmlPullParser
-
Read node: it calls readStartTag and then if parser is namespaces aware currently declared nemaspeces will be added and defaultNamespace will be set.
- readStartTag(XmlStartTag) - Method in interface org.gjt.xpp.XmlPullParser
-
Read current start tag.
- removeAttributeByName(String, String) - Method in interface org.gjt.xpp.XmlStartTag
-
This method tries to remove attribute identified by namespace uti and local name.
- removeAttributeByRawName(String) - Method in interface org.gjt.xpp.XmlStartTag
-
This method tries to remove attribute identified by raw name.
- removeAttributes() - Method in interface org.gjt.xpp.XmlStartTag
-
remove all atribute
- removeChildAt(int) - Method in interface org.gjt.xpp.XmlNode
- removeChildren() - Method in interface org.gjt.xpp.XmlNode
-
Removes all children - every child that was implementing XmlNode will have set parent to null.
- removeDeclaredNamespaces() - Method in interface org.gjt.xpp.XmlNode
- replaceChildAt(int, Object) - Method in interface org.gjt.xpp.XmlNode
- reset() - Method in interface org.gjt.xpp.XmlPullParser
-
Reset the parser state.
- resetEndTag() - Method in interface org.gjt.xpp.XmlEndTag
- resetNode() - Method in interface org.gjt.xpp.XmlNode
-
Clear all Tag state to default values.
- resetPullNode() - Method in interface org.gjt.xpp.XmlPullNode
- resetStartTag() - Method in interface org.gjt.xpp.XmlStartTag
-
Clear all Tag state to default values.
- resetTag() - Method in interface org.gjt.xpp.XmlTag
-
Clear all Tag state to default values.
- row - Variable in exception org.gjt.xpp.XmlPullParserException
S
- setAllowedMixedContent(boolean) - Method in interface org.gjt.xpp.XmlPullParser
-
Allow for mixed element content.
- setBufferShrinkable(boolean) - Method in interface org.gjt.xpp.XmlPullParserBufferControl
- setDefaultNamespaceUri(String) - Method in interface org.gjt.xpp.XmlNode
-
Set default namesapce URI (xmlns='....')
- setDetail(Throwable) - Method in exception org.gjt.xpp.XmlPullParserException
- setEndTagNewLine(boolean) - Method in interface org.gjt.xpp.XmlFormatter
-
Should new line be added after end tag?
- setHardLimit(int) - Method in interface org.gjt.xpp.XmlPullParserBufferControl
- setInput(char[]) - Method in interface org.gjt.xpp.XmlPullParser
-
Set the input for parser.
- setInput(char[], int, int) - Method in interface org.gjt.xpp.XmlPullParser
-
Set the input for parser.
- setInput(Reader) - Method in interface org.gjt.xpp.XmlPullParser
-
Set the input for parser.
- setNamespaceAttributesReporting(boolean) - Method in interface org.gjt.xpp.XmlPullParser
-
Make parser to report xmlns* attributes.
- setNamespaceAware(boolean) - Method in interface org.gjt.xpp.XmlPullParser
-
Indicate that the parser understands XML Namespaces
- setNamespaceAware(boolean) - Method in class org.gjt.xpp.XmlPullParserFactory
-
Specifies that the parser produced by this factory will provide support for XML namespaces.
- setOutput(Writer) - Method in interface org.gjt.xpp.XmlRecorder
- setParentNode(XmlNode) - Method in interface org.gjt.xpp.XmlNode
- setPullParser(XmlPullParser) - Method in interface org.gjt.xpp.XmlPullNode
-
Reset pull node to use pull parser.
- setSoftLimit(int) - Method in interface org.gjt.xpp.XmlPullParserBufferControl
- skipChildren() - Method in interface org.gjt.xpp.XmlPullNode
- skipNode() - Method in interface org.gjt.xpp.XmlPullParser
-
Goes directly to the next sibling
- START_TAG - Static variable in interface org.gjt.xpp.XmlPullParser
-
start tag was just read
W
- write(Object) - Method in interface org.gjt.xpp.XmlRecorder
- writeContent(String) - Method in interface org.gjt.xpp.XmlRecorder
- writeEndTag(XmlEndTag) - Method in interface org.gjt.xpp.XmlRecorder
- writeNode(XmlNode) - Method in interface org.gjt.xpp.XmlRecorder
- writeNode(XmlNode, Writer) - Method in class org.gjt.xpp.XmlPullParserFactory
-
Equivalent to calling writeNode(node, writer, false);
- writeNode(XmlNode, Writer, boolean) - Method in class org.gjt.xpp.XmlPullParserFactory
- writeStartTag(XmlStartTag) - Method in interface org.gjt.xpp.XmlRecorder
- writeStartTagAsEndTag(XmlStartTag) - Method in interface org.gjt.xpp.XmlRecorder
- writeStartTagStart(XmlStartTag) - Method in interface org.gjt.xpp.XmlRecorder
- writeXml(Writer) - Method in interface org.gjt.xpp.XmlWritable
- writeXml(XmlWritable) - Method in interface org.gjt.xpp.XmlRecorder
X
- XmlEndTag - Interface in org.gjt.xpp
-
This represent XML end tag.
- XmlFormatter - Interface in org.gjt.xpp
-
This interface extends XmlRecorder to give some control over formattingof XML output.
- XmlNode - Interface in org.gjt.xpp
-
This class represents XML subtree.
- XmlPullNode - Interface in org.gjt.xpp
-
This class represents pullable XML subtree - children are built on demand.
- XmlPullParser - Interface in org.gjt.xpp
-
Generic interface for simple and quick XML Pull Parser.
- XmlPullParserBufferControl - Interface in org.gjt.xpp
-
Additional interface to control XML Pull Parser buffering.
- XmlPullParserEventPosition - Interface in org.gjt.xpp
-
Special interface to retrieve event positioning information.
- XmlPullParserException - Exception in org.gjt.xpp
-
This exception is thrown to signal XML Pull Parser related excepions.
- XmlPullParserException() - Constructor for exception org.gjt.xpp.XmlPullParserException
- XmlPullParserException(String) - Constructor for exception org.gjt.xpp.XmlPullParserException
- XmlPullParserException(String, int, int) - Constructor for exception org.gjt.xpp.XmlPullParserException
- XmlPullParserException(String, Throwable) - Constructor for exception org.gjt.xpp.XmlPullParserException
- XmlPullParserException(Throwable) - Constructor for exception org.gjt.xpp.XmlPullParserException
- XmlPullParserFactory - Class in org.gjt.xpp
-
This class is used to create implementations of XML Pull Parser.
- XmlPullParserFactory() - Constructor for class org.gjt.xpp.XmlPullParserFactory
-
Proteted constructor to be called by factory implementations.
- XmlRecorder - Interface in org.gjt.xpp
-
This class represents abstract functionality necessary to to persist XML Pull Parser events.
- XmlStartTag - Interface in org.gjt.xpp
-
This class represents abstract functionality necessary to to persist XML Pull Parser events.
- XmlTag - Interface in org.gjt.xpp
-
Base interface that encapsulates common functionality for XML elements: both start tag and end tag (an empty element is equivalent to start tag followed by end tag so for simplicity ti is not modeled as a separate class).
- XmlWritable - Interface in org.gjt.xpp
-
This interface can be used by classes that wishes to implement its own way to persist XML into writer.
All Classes All Packages