Uses of Class
org.xmlpull.v1.XmlPullParserException
-
Packages that use XmlPullParserException Package Description org.apache.directory.api.dsmlv2 org.apache.directory.api.dsmlv2.actions org.apache.directory.api.dsmlv2.engine org.dom4j.io Provides input and output via SAX and DOM together with writing dom4j objects to streams as XML text.org.xmlpull.mxp1 Contains XPP3 implementation of XMLPULL V1 API.org.xmlpull.v1 org.xmlpull.v1.dom2_builder org.xmlpull.v1.parser_pool org.xmlpull.v1.sax2 org.xmlpull.v1.util org.xmlpull.v1.wrapper org.xmlpull.v1.wrapper.classic -
-
Uses of XmlPullParserException in org.apache.directory.api.dsmlv2
Methods in org.apache.directory.api.dsmlv2 that throw XmlPullParserException Modifier and Type Method Description voidAction. action(Dsmlv2Container container)The action to be executed.voidAbstractGrammar. executeAction(Dsmlv2Container container)This method, when called, executes an action on the current data stored in the container.voidGrammar. executeAction(Dsmlv2Container container)This method, when called, executes an action on the current data stored in the container.DsmlDecorator<? extends Request>Dsmlv2Parser. getNextRequest()Gets the next Request or null if there's no more requestDsmlDecorator<? extends Response>Dsmlv2ResponseParser. getNextResponse()Returns the next Request or null if there's no more requeststatic booleanParserUtils. isRequestIdNeeded(Dsmlv2Container container)Indicates if a request ID is needed.voidDsmlv2Parser. parse()Launches the parsing on the input This method will parse the whole DSML document, without considering the flag storeMsgInBatchReqvoidDsmlv2ResponseParser. parse()Launches the parsing on the inputvoidDsmlv2Parser. parseAllRequests()Parses all the requestsvoidDsmlv2ResponseParser. parseAllResponses()Parses all the responsesstatic intParserUtils. parseAndVerifyRequestID(String attributeValue, XmlPullParser xpp)Parses and verify the parsed value of the requestIDvoidDsmlv2Parser. parseBatchRequest()Launches the parsing of the Batch Request onlyvoidDsmlv2ResponseParser. parseBatchResponse()Launches the parsing of the Batch Response onlyvoidDsmlv2Parser. setInput(InputStream inputStream, String inputEncoding)Sets the input stream the parser is going to processvoidDsmlv2Parser. setInput(String str)Sets the input string the parser is going to parsevoidDsmlv2ResponseParser. setInput(InputStream inputStream, String inputEncoding)Sets the input stream the parser is going to processvoidDsmlv2ResponseParser. setInput(String str)Sets the input string the parser is going to parsevoidDsmlv2Parser. setInputFile(String fileName)Sets the input file the parser is going to parse.voidDsmlv2ResponseParser. setInputFile(String fileName)Sets the input file the parser is going to parse.Constructors in org.apache.directory.api.dsmlv2 that throw XmlPullParserException Constructor Description Dsmlv2Parser()Creates a new instance of Dsmlv2Parser.Dsmlv2Parser(boolean storeMsgInBatchReq)Creates a new instance of Dsmlv2Parser.Dsmlv2Parser(Dsmlv2Grammar grammar)Creates a new instance of Dsmlv2Parser.Dsmlv2ResponseParser(LdapApiService codec)Creates a new instance of Dsmlv2ResponseParser. -
Uses of XmlPullParserException in org.apache.directory.api.dsmlv2.actions
Methods in org.apache.directory.api.dsmlv2.actions that throw XmlPullParserException Modifier and Type Method Description voidReadSoapHeader. action(Dsmlv2Container container)The action to be executed. -
Uses of XmlPullParserException in org.apache.directory.api.dsmlv2.engine
Methods in org.apache.directory.api.dsmlv2.engine that throw XmlPullParserException Modifier and Type Method Description protected voidDsmlv2Engine. processBatchRequest()Processes the BatchRequest Parsing and Getting BatchRequest Getting and registering options from BatchRequestStringDsmlv2Engine. processDSML(String dsmlInput)Processes the file given and return the result of the operationsStringDsmlv2Engine. processDSMLFile(String fileName)Processes the file given and return the result of the operations -
Uses of XmlPullParserException in org.dom4j.io
Methods in org.dom4j.io that throw XmlPullParserException Modifier and Type Method Description XmlPullParserFactoryXPP3Reader. getXPPFactory()XmlPullParserXPP3Reader. getXPPParser()protected DocumentXPP3Reader. parseDocument()DocumentXPP3Reader. read(char[] text)Reads a Document from the given array of charactersDocumentXPP3Reader. read(File file)Reads a Document from the givenFileDocumentXPP3Reader. read(InputStream in)Reads a Document from the given streamDocumentXPP3Reader. read(InputStream in, String systemID)Reads a Document from the given streamDocumentXPP3Reader. read(Reader reader)Reads a Document from the givenReaderDocumentXPP3Reader. read(Reader reader, String systemID)Reads a Document from the givenReaderDocumentXPP3Reader. read(String systemID)Reads a Document from the given URL or filename.DocumentXPP3Reader. read(URL url)Reads a Document from the givenURL -
Uses of XmlPullParserException in org.xmlpull.mxp1
Methods in org.xmlpull.mxp1 that throw XmlPullParserException Modifier and Type Method Description voidMXParser. defineEntityReplacementText(String entityName, String replacementText)protected voidMXParser. fillBuf()intMXParser. getEventType()intMXParser. getNamespaceCount(int depth)StringMXParser. getNamespacePrefix(int pos)StringMXParser. getNamespaceUri(int pos)booleanMXParser. isEmptyElementTag()booleanMXParser. isWhitespace()protected char[]MXParser. lookuEntityReplacement(int entitNameLen)protected char[]MXParserNonValidating. lookuEntityReplacement(int entitNameLen)protected charMXParser. more()protected charMXParserNonValidating. more()XmlPullParserMXParserFactory. newPullParser()XmlSerializerMXParserFactory. newSerializer()intMXParser. next()protected intMXParser. nextImpl()intMXParser. nextTag()StringMXParser. nextText()intMXParser. nextToken()protected charMXParser. parseAttribute()protected voidMXParser. parseCDSect(boolean hadCharData)protected voidMXParser. parseComment()protected voidMXParser. parseDocdecl()protected voidMXParserNonValidating. 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)protected voidMXParserNonValidating. processAttlistDecl(char ch)protected voidMXParserNonValidating. processElementDecl(char ch)protected voidMXParserNonValidating. processEntityDecl(char ch)protected charMXParserNonValidating. processExternalId(char ch)protected voidMXParserNonValidating. processInternalSubset()protected voidMXParserNonValidating. processMarkupDecl(char ch)protected voidMXParserNonValidating. processNotationDecl(char ch)protected voidMXParserNonValidating. processPEReference()protected charMXParserNonValidating. readName(char ch)voidMXParser. require(int type, String namespace, String name)protected charMXParser. requireInput(char ch, char[] input)protected charMXParser. requireNextS()voidMXParser. setFeature(String name, boolean state)Method setFeaturevoidMXParserCachingStrings. setFeature(String name, boolean state)This allows to change name iterning property in this enhanced impl.voidMXParserNonValidating. setFeature(String name, boolean state)This allows to change processing DOCDECL (controls if parser is non-validating).voidMXParser. setInput(InputStream inputStream, String inputEncoding)voidMXParser. setInput(Reader in)voidMXParser. setProperty(String name, Object value)protected charMXParser. skipS(char ch)voidMXParser. skipSubTree()Skip sub tree that is currently parser positioned on. -
Uses of XmlPullParserException in org.xmlpull.v1
Methods in org.xmlpull.v1 that throw XmlPullParserException Modifier and Type Method Description 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.intXmlPullParser. getEventType()Returns the type of the current event (START_TAG, END_TAG, TEXT, etc.)intXmlPullParser. getNamespaceCount(int depth)Returns the numbers of elements in the namespace stack for the given depth.StringXmlPullParser. getNamespacePrefix(int pos)Returns the namespace prefixe for the given position in the namespace stack.StringXmlPullParser. 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.booleanXmlPullParser. isEmptyElementTag()Returns true if the current event is START_TAG and the tag is degenerated (e.g.booleanXmlPullParser. isWhitespace()Checks whether the current TEXT event contains only whitespace characters.static XmlPullParserFactoryXmlPullParserFactory. newInstance()Create a new instance of a PullParserFactory that can be used to create XML pull parsers (see class description for more details).static XmlPullParserFactoryXmlPullParserFactory. newInstance(String classNames, Class context)XmlPullParserXmlPullParserFactory. newPullParser()Creates a new instance of a XML Pull Parser using the currently configured factory features.XmlSerializerXmlPullParserFactory. newSerializer()Creates a new instance of a XML Serializer.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).intXmlPullParser. nextTag()Call next() and return event if it is START_TAG or END_TAG otherwise throw an exception.StringXmlPullParser. 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.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.voidXmlPullParser. require(int type, String namespace, String name)Test if the current event is of the given type and if the namespace and name do match.voidXmlPullParser. setFeature(String name, boolean state)Use this call to change the general behaviour of the parser, such as namespace processing or doctype declaration handling.voidXmlPullParserFactory. setFeature(String name, boolean state)Set the features to be set when XML Pull Parser is created by this factory.voidXmlPullParser. setInput(InputStream inputStream, String inputEncoding)Sets the input stream the parser is going to process.voidXmlPullParser. setInput(Reader in)Set the input source for parser to the given reader and resets the parser.voidXmlPullParser. setProperty(String name, Object value)Set the value of a property. -
Uses of XmlPullParserException in org.xmlpull.v1.dom2_builder
Methods in org.xmlpull.v1.dom2_builder that throw XmlPullParserException Modifier and Type Method Description protected DocumentDOM2XmlPullBuilder. newDoc()protected XmlPullParserDOM2XmlPullBuilder. newParser()ElementDOM2XmlPullBuilder. parse(Reader reader)ElementDOM2XmlPullBuilder. parse(Reader reader, Document docFactory)ElementDOM2XmlPullBuilder. parse(XmlPullParser pp, Document docFactory)ElementDOM2XmlPullBuilder.BuildProcess. parseSubTree(XmlPullParser pp, Document docFactory)ElementDOM2XmlPullBuilder. parseSubTree(XmlPullParser pp)ElementDOM2XmlPullBuilder. parseSubTree(XmlPullParser pp, Document docFactory) -
Uses of XmlPullParserException in org.xmlpull.v1.parser_pool
Methods in org.xmlpull.v1.parser_pool that throw XmlPullParserException Modifier and Type Method Description XmlPullParserXmlPullParserPool. getPullParserFromPool()protected XmlPullParserXmlPullParserPool. newParser()Constructors in org.xmlpull.v1.parser_pool that throw XmlPullParserException Constructor Description XmlPullParserPool() -
Uses of XmlPullParserException in org.xmlpull.v1.sax2
Constructors in org.xmlpull.v1.sax2 that throw XmlPullParserException Constructor Description Driver()Driver(XmlPullParser pp) -
Uses of XmlPullParserException in org.xmlpull.v1.util
Methods in org.xmlpull.v1.util that throw XmlPullParserException Modifier and Type Method Description static StringXmlPullUtil. getRequiredAttributeValue(XmlPullParser pp, String namespace, String name)Read attribute value and return it or throw exception if current element does not have such attribute.static booleanXmlPullUtil. matches(XmlPullParser pp, int type, String namespace, String name)Tests if the current event is of the given type and if the namespace and name match.static voidXmlPullUtil. nextEndTag(XmlPullParser pp)Call parser nextTag() and check that it is END_TAG, throw exception if not.static voidXmlPullUtil. nextEndTag(XmlPullParser pp, String namespace, String name)combine nextTag(); pp.require(XmlPullParser.END_TAG, namespace, name);static voidXmlPullUtil. nextStartTag(XmlPullParser pp)call parser nextTag() and check that it is START_TAG, throw exception if not.static voidXmlPullUtil. nextStartTag(XmlPullParser pp, String name)combine nextTag(); pp.require(XmlPullParser.START_TAG, null, name);static voidXmlPullUtil. nextStartTag(XmlPullParser pp, String namespace, String name)combine nextTag(); pp.require(XmlPullParser.START_TAG, namespace, name);static StringXmlPullUtil. nextText(XmlPullParser pp, String namespace, String name)Read text content of element ith given namespace and name (use null namespace do indicate that nemspace should not be checked)static voidXmlPullUtil. skipSubTree(XmlPullParser pp)Skip sub tree that is currently porser positioned on.static voidXmlPullUtil. writeSimpleElement(XmlSerializer serializer, String namespace, String elementName, String elementText)Writes a simple element such asjohndoe . -
Uses of XmlPullParserException in org.xmlpull.v1.wrapper
Methods in org.xmlpull.v1.wrapper that throw XmlPullParserException Modifier and Type Method Description XmlSerializerWrapperXmlSerializerWrapper. element(String elementName, String elementText)Write simple text element in current namespaceXmlSerializerWrapperXmlSerializerWrapper. element(String namespace, String elementName, String elementText)Writes a simple element such as <username>johndoe</username>.voidXmlSerializerWrapper. event(XmlPullParser pp)Serializer current event form pull parservoidXmlSerializerWrapper. fragment(String xmlFragment)Write XML fragment using currently set namespace prefixesXmlPullParserFactoryXmlPullWrapperFactory. getFactory()StringXmlPullParserWrapper. getRequiredAttributeValue(String name)Read attribute value and return it or throw exception if current element does not have such attribute.StringXmlPullParserWrapper. getRequiredAttributeValue(String namespace, String name)Read attribute value and return it or throw exception if current element does not have such attribute.StringXmlPullParserWrapper. getRequiredElementText(String namespace, String name)Read the text of a required element and return it or throw exception if required element is not found.booleanXmlPullParserWrapper. isNil()Is the current tag nil? Checks for xsi:nil="true".booleanXmlPullParserWrapper. matches(int type, String namespace, String name)Tests if the current event is of the given type and if the namespace and name match.static XmlPullWrapperFactoryXmlPullWrapperFactory. newInstance()static XmlPullWrapperFactoryXmlPullWrapperFactory. newInstance(String classNames, Class context)static XmlPullWrapperFactoryXmlPullWrapperFactory. newInstance(XmlPullParserFactory factory)XmlPullParserWrapperXmlPullWrapperFactory. newPullParserWrapper()XmlPullParserWrapperXmlPullWrapperFactory. newPullParserWrapper(XmlPullParser pp)XmlSerializerWrapperXmlPullWrapperFactory. newSerializerWrapper()XmlSerializerWrapperXmlPullWrapperFactory. newSerializerWrapper(XmlSerializer xs)voidXmlPullParserWrapper. nextEndTag()Call parser nextTag() and check that it is END_TAG, throw exception if not.voidXmlPullParserWrapper. nextEndTag(String name)combine nextTag(); pp.require(XmlPullParser.END_TAG, null, name);voidXmlPullParserWrapper. nextEndTag(String namespace, String name)combine nextTag(); pp.require(XmlPullParser.END_TAG, namespace, name);voidXmlPullParserWrapper. nextStartTag()call parser nextTag() and check that it is START_TAG, throw exception if not.voidXmlPullParserWrapper. nextStartTag(String name)combine nextTag(); pp.require(XmlPullParser.START_TAG, null, name);voidXmlPullParserWrapper. nextStartTag(String namespace, String name)combine nextTag(); pp.require(XmlPullParser.START_TAG, namespace, name);StringXmlPullParserWrapper. nextText(String namespace, String name)Read text content of element ith given namespace and name (use null namespace do indicate that nemspace should not be checked)voidXmlPullWrapperFactory. setFeature(String name, boolean state)voidXmlPullParserWrapper. skipSubTree()Skip sub tree that is currently porser positioned on.Constructors in org.xmlpull.v1.wrapper that throw XmlPullParserException Constructor Description XmlPullWrapperFactory(XmlPullParserFactory factory) -
Uses of XmlPullParserException in org.xmlpull.v1.wrapper.classic
Methods in org.xmlpull.v1.wrapper.classic that throw XmlPullParserException Modifier and Type Method Description voidXmlPullParserDelegate. defineEntityReplacementText(String entityName, String replacementText)XmlSerializerWrapperStaticXmlSerializerWrapper. element(String elementName, String elementText)Write simple text element in current namespaceXmlSerializerWrapperStaticXmlSerializerWrapper. element(String namespace, String elementName, String elementText)voidStaticXmlSerializerWrapper. event(XmlPullParser pp)voidStaticXmlSerializerWrapper. fragment(String xmlFragment)intXmlPullParserDelegate. getEventType()intXmlPullParserDelegate. getNamespaceCount(int depth)StringXmlPullParserDelegate. getNamespacePrefix(int pos)StringXmlPullParserDelegate. getNamespaceUri(int pos)StringStaticXmlPullParserWrapper. getRequiredAttributeValue(String name)StringStaticXmlPullParserWrapper. getRequiredAttributeValue(String namespace, String name)StringStaticXmlPullParserWrapper. getRequiredElementText(String namespace, String name)Read the text of a required element and return it or throw exception if required element is not found.booleanXmlPullParserDelegate. isEmptyElementTag()booleanStaticXmlPullParserWrapper. isNil()booleanXmlPullParserDelegate. isWhitespace()booleanStaticXmlPullParserWrapper. matches(int type, String namespace, String name)intXmlPullParserDelegate. next()voidStaticXmlPullParserWrapper. nextEndTag()voidStaticXmlPullParserWrapper. nextEndTag(String name)voidStaticXmlPullParserWrapper. nextEndTag(String namespace, String name)voidStaticXmlPullParserWrapper. nextStartTag()voidStaticXmlPullParserWrapper. nextStartTag(String name)voidStaticXmlPullParserWrapper. nextStartTag(String namespace, String name)intXmlPullParserDelegate. nextTag()StringStaticXmlPullParserWrapper. nextText(String namespace, String name)StringXmlPullParserDelegate. nextText()intXmlPullParserDelegate. nextToken()doubleStaticXmlPullParserWrapper. readDouble()doubleStaticXmlPullParserWrapper. readDoubleElement(String namespace, String name)floatStaticXmlPullParserWrapper. readFloat()floatStaticXmlPullParserWrapper. readFloatElement(String namespace, String name)intStaticXmlPullParserWrapper. readInt()intStaticXmlPullParserWrapper. readIntElement(String namespace, String name)StringStaticXmlPullParserWrapper. readString()StringStaticXmlPullParserWrapper. readStringElemet(String namespace, String name)voidXmlPullParserDelegate. require(int type, String namespace, String name)voidXmlPullParserDelegate. setFeature(String name, boolean state)voidXmlPullParserDelegate. setInput(InputStream inputStream, String inputEncoding)voidXmlPullParserDelegate. setInput(Reader in)voidXmlPullParserDelegate. setProperty(String name, Object value)voidStaticXmlPullParserWrapper. skipSubTree()voidStaticXmlSerializerWrapper. writeDouble(double d)voidStaticXmlSerializerWrapper. writeDoubleElement(String namespace, String name, double d)voidStaticXmlSerializerWrapper. writeFloat(float f)voidStaticXmlSerializerWrapper. writeFloatElement(String namespace, String name, float f)voidStaticXmlSerializerWrapper. writeInt(int i)voidStaticXmlSerializerWrapper. writeIntElement(String namespace, String name, int i)voidStaticXmlSerializerWrapper. writeString(String s)voidStaticXmlSerializerWrapper. writeStringElement(String namespace, String name, String s)
-