Uses of Interface
org.xmlpull.v1.XmlPullParser
-
Packages that use XmlPullParser Package Description org.apache.directory.api.dsmlv2 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.builder This package defines API modeled after XML Information Set for building incrmentally XML trees from events streamed from pull parser (user can start navigating tree before whole XML input was parsed!) and has an unique ability to bypass tree building for selected sub trees to work directly with underlying event stream.org.xmlpull.v1.builder.impl 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 XmlPullParser in org.apache.directory.api.dsmlv2
Methods in org.apache.directory.api.dsmlv2 that return XmlPullParser Modifier and Type Method Description XmlPullParserDsmlv2Container. getParser()Gets the parserMethods in org.apache.directory.api.dsmlv2 with parameters of type XmlPullParser Modifier and Type Method Description static StringParserUtils. getXsiTypeAttributeValue(XmlPullParser xpp)Returns the value of the attribute 'type' of the "XMLSchema-instance' namespace if it existsstatic booleanParserUtils. isBase64BinaryValue(XmlPullParser parser, String attrValue)Tells is the given value is a Base64 binary valuestatic intParserUtils. parseAndVerifyRequestID(String attributeValue, XmlPullParser xpp)Parses and verify the parsed value of the requestIDvoidDsmlv2Container. setParser(XmlPullParser parser)Sets the parser -
Uses of XmlPullParser in org.dom4j.io
Methods in org.dom4j.io that return XmlPullParser Modifier and Type Method Description XmlPullParserXPP3Reader. getXPPParser() -
Uses of XmlPullParser in org.xmlpull.mxp1
Classes in org.xmlpull.mxp1 that implement XmlPullParser Modifier and Type Class Description classMXParserAbsolutely minimal implementation of XMLPULL V1 APIclassMXParserCachingStringsExtend MXP parser to use string cache of char[] to interned StringclassMXParserNonValidatingExtend MXP parser to be full non validating XML 1.0 parser (added internal DTD parsing and support for full XML 1.0 (or 1.1) character classes).Methods in org.xmlpull.mxp1 that return XmlPullParser Modifier and Type Method Description XmlPullParserMXParserFactory. newPullParser() -
Uses of XmlPullParser in org.xmlpull.v1
Methods in org.xmlpull.v1 that return XmlPullParser Modifier and Type Method Description XmlPullParserXmlPullParserFactory. newPullParser()Creates a new instance of a XML Pull Parser using the currently configured factory features.Constructors in org.xmlpull.v1 with parameters of type XmlPullParser Constructor Description XmlPullParserException(String msg, XmlPullParser parser, Throwable chain) -
Uses of XmlPullParser in org.xmlpull.v1.builder
Methods in org.xmlpull.v1.builder with parameters of type XmlPullParser Modifier and Type Method Description abstract XmlDocumentXmlInfosetBuilder. parse(XmlPullParser sourceForDocument)Parse document - parser must be in START_DOCUMENT state.abstract XmlElementXmlInfosetBuilder. parseFragment(XmlPullParser sourceForXml)Parse fragment - parser must be on START_TAG.abstract ObjectXmlInfosetBuilder. parseItem(XmlPullParser pp)Will convert current parser state into event rerpresenting XML infoset item: START_Document: XmlDocument without root element START_TAG: XmlElement without children TEXT: String or XmlCHaracters depending on builder mode additiona states to corresponding XML infoset items (when implemented!)abstract XmlElementXmlInfosetBuilder. parseStartTag(XmlPullParser pp)Parser must be on START_TAG and this method will convert START_TAG content into XmlELement.voidXmlInfosetBuilder. skipSubTree(XmlPullParser pp)Move parser from START_TAG to the corresponding END_TAG which means that XML sub tree is skipped. -
Uses of XmlPullParser in org.xmlpull.v1.builder.impl
Methods in org.xmlpull.v1.builder.impl with parameters of type XmlPullParser Modifier and Type Method Description XmlDocumentXmlInfosetBuilderImpl. parse(XmlPullParser pp)XmlElementXmlInfosetBuilderImpl. parseFragment(XmlPullParser pp)ObjectXmlInfosetBuilderImpl. parseItem(XmlPullParser pp)XmlElementXmlInfosetBuilderImpl. parseStartTag(XmlPullParser pp) -
Uses of XmlPullParser in org.xmlpull.v1.dom2_builder
Methods in org.xmlpull.v1.dom2_builder that return XmlPullParser Modifier and Type Method Description protected XmlPullParserDOM2XmlPullBuilder. newParser()Methods in org.xmlpull.v1.dom2_builder with parameters of type XmlPullParser Modifier and Type Method Description 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 XmlPullParser in org.xmlpull.v1.parser_pool
Methods in org.xmlpull.v1.parser_pool that return XmlPullParser Modifier and Type Method Description XmlPullParserXmlPullParserPool. getPullParserFromPool()protected XmlPullParserXmlPullParserPool. newParser()Methods in org.xmlpull.v1.parser_pool with parameters of type XmlPullParser Modifier and Type Method Description voidXmlPullParserPool. returnPullParserToPool(XmlPullParser pp) -
Uses of XmlPullParser in org.xmlpull.v1.sax2
Fields in org.xmlpull.v1.sax2 declared as XmlPullParser Modifier and Type Field Description protected XmlPullParserDriver. ppMethods in org.xmlpull.v1.sax2 with parameters of type XmlPullParser Modifier and Type Method Description voidDriver. parseSubTree(XmlPullParser pp)Constructors in org.xmlpull.v1.sax2 with parameters of type XmlPullParser Constructor Description Driver(XmlPullParser pp) -
Uses of XmlPullParser in org.xmlpull.v1.util
Methods in org.xmlpull.v1.util with parameters of type XmlPullParser Modifier and Type Method Description static StringXmlPullUtil. getAttributeValue(XmlPullParser pp, String name)Return value of attribute with given name and no namespace.static StringXmlPullUtil. getPIData(XmlPullParser pp)Return everything past PITarget and S from Processing Instruction (PI) as defined in XML 1.0 Section 2.6 Processing Instructions[16] PI ::= '<?' PITarget (S (Char* - (Char* '?>' Char*)))? '?>'static StringXmlPullUtil. getPITarget(XmlPullParser pp)Return PITarget from Processing Instruction (PI) as defined in XML 1.0 Section 2.6 Processing Instructions[16] PI ::= '<?' PITarget (S (Char* - (Char* '?>' Char*)))? '?>'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. -
Uses of XmlPullParser in org.xmlpull.v1.wrapper
Subinterfaces of XmlPullParser in org.xmlpull.v1.wrapper Modifier and Type Interface Description interfaceXmlPullParserWrapperExtensions to XmlPullParser interfaceMethods in org.xmlpull.v1.wrapper with parameters of type XmlPullParser Modifier and Type Method Description voidXmlSerializerWrapper. event(XmlPullParser pp)Serializer current event form pull parserXmlPullParserWrapperXmlPullWrapperFactory. newPullParserWrapper(XmlPullParser pp) -
Uses of XmlPullParser in org.xmlpull.v1.wrapper.classic
Classes in org.xmlpull.v1.wrapper.classic that implement XmlPullParser Modifier and Type Class Description classStaticXmlPullParserWrapperThis class seemlesly extends exisiting parser implementation by adding new methods (provided by XmlPullUtil) and delegating exisiting methods to parser implementation.classXmlPullParserDelegateThis is simple class that implements parser interface by delegating all calls to actual wrapped class implementation that is passed in constructor.Fields in org.xmlpull.v1.wrapper.classic declared as XmlPullParser Modifier and Type Field Description protected XmlPullParserXmlPullParserDelegate. ppMethods in org.xmlpull.v1.wrapper.classic with parameters of type XmlPullParser Modifier and Type Method Description voidStaticXmlSerializerWrapper. event(XmlPullParser pp)Constructors in org.xmlpull.v1.wrapper.classic with parameters of type XmlPullParser Constructor Description StaticXmlPullParserWrapper(XmlPullParser pp)XmlPullParserDelegate(XmlPullParser pp)
-