Uses of Class
org.infinispan.commons.configuration.io.xml.XmlPullParserException
Packages that use XmlPullParserException
-
Uses of XmlPullParserException in org.infinispan.commons.configuration.io.xml
Methods in org.infinispan.commons.configuration.io.xml that throw XmlPullParserExceptionModifier and TypeMethodDescriptionvoidMXParser.defineEntityReplacementText(String entityName, String replacementText) voidXmlPullParser.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.protected voidMXParser.fillBuf()intMXParser.getEventType()intXmlPullParser.getEventType()Returns the type of the current event (START_TAG, END_TAG, TEXT, etc.)intMXParser.getNamespaceCount(int depth) intXmlPullParser.getNamespaceCount(int depth) Returns the numbers of elements in the namespace stack for the given depth.MXParser.getNamespacePrefix(int pos) XmlPullParser.getNamespacePrefix(int pos) Returns the namespace prefixe for the given position in the namespace stack.MXParser.getNamespaceUri(int pos) XmlPullParser.getNamespaceUri(int pos) Returns the namespace URI for the given position in the namespace stack If the position is out of range, an exception is thrown.booleanMXParser.isEmptyElementTag()booleanXmlPullParser.isEmptyElementTag()Returns true if the current event is START_TAG and the tag is degenerated (e.g.booleanMXParser.isWhitespace()booleanXmlPullParser.isWhitespace()Checks whether the current TEXT event contains only whitespace characters.protected char[]MXParser.lookuEntityReplacement(int entitNameLen) protected charMXParser.more()intMXParser.next()intXmlPullParser.next()Get next parsing event - element content wil be coalesced and only one TEXT event must be returned for whole element content (comments and processing instructions will be ignored and emtity references must be expanded or exception mus be thrown if entity reerence can not be exapnded).protected intMXParser.nextImpl()intMXParser.nextTag()intXmlPullParser.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.intMXParser.nextToken()intXmlPullParser.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.protected charMXParser.parseAttribute()protected voidMXParser.parseCDSect(boolean hadCharData) protected voidMXParser.parseComment()protected voidMXParser.parseDocdecl()intMXParser.parseEndTag()protected char[]MXParser.parseEntityRef()protected intMXParser.parseEpilog()protected booleanMXParser.parsePI()protected intMXParser.parseProlog()intMXParser.parseStartTag()protected voidMXParser.parseXmlDecl(char ch) protected voidMXParser.parseXmlDeclWithVersion(int versionStart, int versionEnd) voidvoidTest if the current event is of the given type and if the namespace and name do match.protected charMXParser.requireInput(char ch, char[] input) protected charMXParser.requireNextS()voidMXParser.setFeature(String name, boolean state) Method setFeaturevoidXmlPullParser.setFeature(String name, boolean state) Use this call to change the general behaviour of the parser, such as namespace processing or doctype declaration handling.voidMXParser.setProperty(String name, Object value) voidXmlPullParser.setProperty(String name, Object value) Set the value of a property.protected charMXParser.skipS(char ch) voidMXParser.skipSubTree()Skip sub tree that is currently parser positioned on.