Uses of Class
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
Uses of XmlPullParserException in org.codehaus.plexus.util.xml.pull
Modifier and TypeMethodDescriptionvoid
MXParser.defineEntityReplacementText
(String entityName, String replacementText) void
XmlPullParser.defineEntityReplacementText
(String entityName, String replacementText) Set new value for entity replacement text as defined in XML 1.0 Section 4.5 Construction of Internal Entity Replacement Text.int
MXParser.getEventType()
int
XmlPullParser.getEventType()
int
MXParser.getNamespaceCount
(int depth) int
XmlPullParser.getNamespaceCount
(int depth) MXParser.getNamespacePrefix
(int pos) XmlPullParser.getNamespacePrefix
(int pos) MXParser.getNamespaceUri
(int pos) XmlPullParser.getNamespaceUri
(int pos) boolean
MXParser.isEmptyElementTag()
boolean
XmlPullParser.isEmptyElementTag()
boolean
MXParser.isWhitespace()
boolean
XmlPullParser.isWhitespace()
int
MXParser.next()
int
XmlPullParser.next()
int
MXParser.nextTag()
int
XmlPullParser.nextTag()
Call next() and return event if it is START_TAG or END_TAG otherwise throw an exception.MXParser.nextText()
XmlPullParser.nextText()
If current event is START_TAG then if next element is TEXT then element content is returned or if next event is END_TAG then empty string is returned, otherwise exception is thrown.int
MXParser.nextToken()
int
XmlPullParser.nextToken()
This method works similarly to next() but will expose additional event types (COMMENT, CDSECT, DOCDECL, ENTITY_REF, PROCESSING_INSTRUCTION, or IGNORABLE_WHITESPACE) if they are available in input.int
MXParser.parseEndTag()
int
MXParser.parseStartTag()
void
void
Test if the current event is of the given type and if the namespace and name do match.void
MXParser.setFeature
(String name, boolean state) Method setFeaturevoid
XmlPullParser.setFeature
(String name, boolean state) Use this call to change the general behaviour of the parser, such as namespace processing or doctype declaration handling.void
MXParser.setInput
(InputStream inputStream, String inputEncoding) void
void
XmlPullParser.setInput
(InputStream inputStream, String inputEncoding) Sets the input stream the parser is going to process.void
Set the input source for parser to the given reader and resets the parser.void
MXParser.setProperty
(String name, Object value) void
XmlPullParser.setProperty
(String name, Object value) Set the value of a property.void
MXParser.skipSubTree()
Skip sub tree that is currently parser positioned on.