- 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
-
- 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
-
- 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.