| Frames | No Frames |
Methods which throw type org.gjt.xpp.XmlPullParserException | |
| void | XmlStartTag.addAttribute(String namespaceUri, String localName, String rawName, String value) parameters modeled after SAX2 attribute approach |
| void | XmlStartTag.addAttribute(String namespaceUri, String localName, String rawName, String value, boolean isNamespaceDeclaration)
Parameter isNamespaceDeclaration if true indicates that attribute is related
to namespace management and may be ignored by normal processing
NOTE: this class has no support for resolving namespaces and
such support may be added later (see XmlNode and namespaces methids)
|
| void | XmlNode.addDeclaredNamespaces(String[] prefix, int off, int len, String[] namespaceUri) NOTE: node SHOULD NOT keep references to passed arrays!
|
| void | XmlNode.addNamespaceDeclaration(String prefix, String namespaceUri) |
| void | XmlNode.appendChild(Object child) |
| void | XmlStartTag.ensureAttributesCapacity(int minCapacity) Pre-allocate if necessary tag data structure to hold
at least minCapacity attributes . |
| void | XmlNode.ensureChildrenCapacity(int minCapacity) |
| void | XmlNode.ensureDeclaredNamespacesCapacity(int minCapacity) |
| int | Return how big is content. |
| byte | Returns the type of the current element (START_TAG, END_TAG, CONTENT, etc)
|
| Writer | |
| XmlPullParser | 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!!!!). |
| String | XmlNode.getQNameLocal(String qName) Return local part of qname. |
| String | XmlPullParser.getQNameLocal(String qName) Return local part of qname. |
| String | XmlNode.getQNameUri(String qName) Return uri part of qname. |
| String | XmlPullParser.getQNameUri(String qName) Return uri part of qname. |
| void | XmlNode.insertChildAt(int pos, Object child) |
| boolean | Check if last CONTENT contained only whitespace characters. |
| void | Modify tag to have namespace URI, localName and rawName. |
| String | XmlNode.namespace2Prefix(String namespaceUri) return prefix for namesapce searching node tree upward. |
| XmlEndTag | Create new end tag. |
| XmlFormatter | Return new XML formatter. |
| XmlPullParserFactory | Get a new instance of a PullParserFactory used to create XPP. |
| XmlPullParserFactory | XmlPullParserFactory.newInstance(Class classLoaderCtx) Get a new instance of a PullParserFactory used to create XPP. |
| XmlPullParserFactory | XmlPullParserFactory.newInstance(String factoryClassName) Get a new instance of a PullParserFactory from given class name. |
| XmlNode | context sensitive factory method to create the same type of node |
| XmlNode | context sensitive factory method to create the same type of node |
| XmlNode | Return new XML node. |
| XmlNode | |
| XmlNode | Return new XML node that is represeting tree from current pull parser start tag. |
| XmlPullNode | |
| XmlPullNode | Return new XML pull node that is represeting tree from current pull parser start tag. |
| XmlPullParser | Create new XML pull parser. |
| XmlRecorder | Return new XML recorder. |
| XmlStartTag | Return new XML start tag. |
| byte | Get next parsing event. |
| String | XmlNode.prefix2Namespace(String prefix) return namespace for prefix searching node tree upward. |
| void | Read all reminaing children up to end tag. |
| String | Read current content as Stirng. |
| void | XmlNode.readDeclaredNamespaceUris(String[] uris, int off, int len) |
| void | XmlNode.readDeclaredPrefixes(String[] prefixes, int off, int len) |
| void | Read current end tag. |
| void | XmlPullParser.readNamespacesPrefixes(int depth, String[] prefixes, int off, int len) Return namespace prefixes for element at depth
|
| void | XmlPullParser.readNamespacesUris(int depth, String[] uris, int off, int len) Return namespace URIs for element at depth
|
| Object | This is preferred method to pull children
(children() requires .wrapping object Enumeration). |
| XmlNode | XmlPullParserFactory.readNode(Reader reader) Equivalent to calling readNode(reader, false);
|
| XmlNode | XmlPullParserFactory.readNode(Reader reader, boolean closeAtEnd) 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. |
| byte | Read subtree into node: call readNodeWithoutChildren
and then parse subtree adding children
(values obtained with readXontent or readNodeWithoutChildren). |
| void | Read node: it calls readStartTag and then if parser is namespaces
aware currently declared nemaspeces will be added
and defaultNamespace will be set. |
| void | Read current start tag. |
| boolean | XmlStartTag.removeAttributeByName(String uri, String localName) This method tries to remove attribute identified by namespace uti and local name. |
| boolean | XmlStartTag.removeAttributeByRawName(String rawName) This method tries to remove attribute identified by raw name. |
| void | remove all atribute |
| void | XmlNode.removeChildAt(int pos) |
| void | Removes all children - every child that was
implementing XmlNode will have set parent to null. |
| void | |
| void | XmlNode.replaceChildAt(int pos, Object child) |
| void | Reset the parser state. |
| void | XmlPullParser.setAllowedMixedContent(boolean enable) Allow for mixed element content. |
| void | XmlPullParserBufferControl.setBufferShrinkable(boolean shrinkable) |
| void | XmlNode.setDefaultNamespaceUri(String defaultNamespaceUri) Set default namesapce URI (xmlns='....') |
| void | XmlPullParserBufferControl.setHardLimit(int value) |
| void | XmlPullParser.setInput(Reader in) Set the input for parser. |
| void | XmlPullParser.setInput(char[] buf) Set the input for parser. |
| void | XmlPullParser.setInput(char[] buf, int off, int len) Set the input for parser. |
| void | XmlPullParser.setNamespaceAttributesReporting(boolean enable) Make parser to report xmlns* attributes. |
| void | XmlPullParser.setNamespaceAware(boolean enable) Indicate that the parser understands XML Namespaces
NOTE: this is not resetable parameter. |
| void | XmlPullParserFactory.setNamespaceAware(boolean awareness) Specifies that the parser produced by this factory will provide
support for XML namespaces. |
| void | XmlRecorder.setOutput(Writer out) |
| void | |
| void | Reset pull node to use pull parser. |
| void | XmlPullParserBufferControl.setSoftLimit(int value) |
| void | |
| byte | Goes directly to the next sibling
NOTE: parser must be on START_TAG event. |
| void | XmlRecorder.write(Object o) |
| void | XmlRecorder.writeContent(String s) |
| void | |
| void | |
| void | Equivalent to calling writeNode(node, writer, false);
|
| void | |
| void | |
| void | |
| void | |
| void | |
Methods which throw type org.gjt.xpp.XmlPullParserException | |
| XmlFormatter | Return new XML formatter. |
| XmlNode | |
| XmlPullNode | Return new XML pull node that is represeting tree from current pull parser start tag. |
| XmlPullParser | Create new XML pull parser. |
| XmlPullParser | |
| XmlRecorder | |
Methods which throw type org.gjt.xpp.XmlPullParserException | |
| void | |
| void | Recorder.writeContent(String s) |
| void | |
| void | |
| void | Recorder.writeEscaped(String s, boolean escapeApostAttrib) |
| void | |
| void | |
| void | |
| void | |
| void | |
| void | |
Methods which throw type org.gjt.xpp.XmlPullParserException | |
| void | Node.addNamespaceDeclaration(String prefix, String namespaceUri) |
| void | Node.appendChild(Object child) |
| void | Node.ensureChildrenCapacity(int minCapacity) |
| void | Node.insertChildAt(int pos, Object child) |
| String | Node.namespace2Prefix(String namespaceUri) return prefix for namesapce searching node tree upward. |
| XmlNode | context sensitive factory method to create the same type of node |
| XmlNode | |
| String | Node.prefix2Namespace(String prefix) return namespace for prefix searching node tree upward. |
| void | Node.removeChildAt(int pos) |
| void | Removes all children - every child that was
implementing XmlNode will have set parent to null. |
| void | Node.replaceChildAt(int pos, Object child) |
Constructors which throw type org.gjt.xpp.XmlPullParserException | |
Methods which throw type org.gjt.xpp.XmlPullParserException | |
| void | PullNode.appendChild(Object child) |
| XmlPullParser | |
| void | PullNode.insertChildAt(int pos, Object child) |
| XmlNode | |
| XmlPullNode | |
| void | Read all reminaing children up to end tag. |
| Object | |
| void | PullNode.removeChildAt(int pos) |
| void | |
| void | PullNode.replaceChildAt(int pos, Object child) |
| void | Reset pull node to use pull parser. |
| void | |
Methods which throw type org.gjt.xpp.XmlPullParserException | |
| int | Return how big is content. |
| String | PullParser.getQNameUri(String qName) Return uri part of qname. |
| boolean | Return true if just read CONTENT contained only white spaces. |
| byte | This is key method - it reads more from input stream
and returns next event type
(such as START_TAG, END_TAG, CONTENT). |
| String | Return String that contains just read CONTENT. |
| void | Read value of just read END_TAG into passed as argument EndTag. |
| void | PullParser.readNamespacesPrefixes(int depth, String[] prefixes, int off, int len) Return namespace prefixes for element at depth
|
| void | PullParser.readNamespacesUris(int depth, String[] uris, int off, int len) Return namespace URIs for element at depth
|
| byte | Read subtree into node: call readNodeWithoutChildren
and then parse subtree adding children
(values obtained with readXontent or readNodeWithoutChildren). |
| void | Read node: it calls readStartTag and then if parser is namespaces
aware currently declared nemaspeces will be added
and defaultNamespace will be set. |
| void | Read value of just read START_TAG into passed as argument StartTag. |
| void | PullParser.setBufferShrinkable(boolean shrinkable) |
| void | PullParser.setHardLimit(int value) |
| void | PullParser.setInput(char[] buf, int off, int len) Set the input for parser. |
| void | PullParser.setNamespaceAware(boolean awareness) Set support of namespaces. |
| void | PullParser.setSoftLimit(int value) |
| byte | If parser has just read start tag it allows to skip whoole
subtree contined in this element. |
Methods which throw type org.gjt.xpp.XmlPullParserException | |
| void | this constructor is modeled after SAX2 startTag |
Classes derived from org.gjt.xpp.XmlPullParserException | |
| class | This exception is thrown to signal exceeding tokenizer hard limit
on internal input buffer. |
| class | This exception is thrown to signal all XML tokenizing errors. |
Methods which throw type org.gjt.xpp.XmlPullParserException | |
| XmlFormatter | Return new XML formatter. |
| XmlPullNode | Return new XML pull node that is represeting tree from current pull parser start tag. |
| XmlPullParser | Create new XML pull parser. |
Constructors which throw type org.gjt.xpp.XmlPullParserException | |
Create instance of pull parser. | |
Methods which throw type org.gjt.xpp.XmlPullParserException | |
| int | Return how big is content. |
| String | X2PullParser.getQNameUri(String qName) Return uri part of qname. |
| boolean | Return true if just read CONTENT contained only white spaces. |
| byte | This is a key method - translates XNI callbacks
into XPP events
(such as START_TAG, END_TAG, CONTENT). |
| String | Return String that contains just read CONTENT. |
| void | Read value of just read END_TAG into passed as argument EndTag. |
| void | X2PullParser.readNamespacesPrefixes(int depth, String[] prefixes, int off, int len) Return namespace prefixes for element at depth
|
| void | X2PullParser.readNamespacesUris(int depth, String[] uris, int off, int len) Return namespace URIs for element at depth
|
| byte | Read subtree into node: call readNodeWithoutChildren
and then parse subtree adding children
(values obtained with readXontent or readNodeWithoutChildren). |
| void | Read node: it calls readStartTag and then if parser is namespaces
aware currently declared nemaspeces will be added
and defaultNamespace will be set. |
| void | Read value of just read START_TAG into passed as argument StartTag. |
| void | X2PullParser.setAllowedMixedContent(boolean enable) Allow for mixed element content. |
| void | X2PullParser.setBufferShrinkable(boolean shrinkable) |
| void | X2PullParser.setHardLimit(int value) |
| void | X2PullParser.setInput(Reader reader) Reset parser and set new input. |
| void | X2PullParser.setInput(char[] buf) Reset parser and set new input. |
| void | X2PullParser.setInput(char[] buf, int off, int len) Set the input for parser. |
| void | X2PullParser.setNamespaceAttributesReporting(boolean enable) Make parser to report xmlns* attributes. |
| void | X2PullParser.setNamespaceAware(boolean awareness) Set support of namespaces. |
| void | X2PullParser.setSoftLimit(int value) |
| byte | If parser has just read start tag it allows to skip whoole
subtree contined in this element. |