Class NameValuePairStreamReader
java.lang.Object
org.apache.axis2.databinding.utils.reader.NameValuePairStreamReader
- All Implemented Interfaces:
XMLStreamConstants,XMLStreamReader,Constants,ADBXMLStreamReader
-
Field Summary
Fields inherited from interface org.apache.axis2.databinding.utils.reader.ADBXMLStreamReader
ELEMENT_TEXTFields inherited from interface org.apache.axis2.databinding.utils.Constants
DEFAULT_XSD_NAMESPACE_PREFIX, DEFAULT_XSI_NAMESPACE_PREFIX, INNER_ARRAY_COMPLEX_TYPE_NAME, NIL, OM_ATTRIBUTE_KEY, OM_ELEMENT_KEY, RETURN_WRAPPER, TRUE, XSD_NAMESPACE, XSI_NAMESPACE, XSI_TYPE_ATTRIBUTEFields inherited from interface javax.xml.stream.XMLStreamConstants
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddNamespaceContext(NamespaceContext nsContext) add the parent namespace context to this parservoidclose()intgetAttributeLocalName(int i) getAttributeName(int i) getAttributeNamespace(int i) getAttributePrefix(int i) getAttributeType(int i) getAttributeValue(int i) getAttributeValue(String string, String string1) intgetName()intgetNamespacePrefix(int i) getNamespaceURI(int i) getNamespaceURI(String prefix) getProperty(String key) getText()char[]intgetTextCharacters(int i, char[] chars, int i1, int i2) intintbooleanhasName()booleanhasNext()booleanhasText()voidinit()Initiate the parser - this will do whatever the needed tasks to initiate the parser and must be called before attempting any specific parsing using this parserbooleanisAttributeSpecified(int i) booleanbooleanisDone()Extra method to query the state of the pullparserbooleanbooleanbooleanbooleanintnext()intnextTag()voidboolean
-
Constructor Details
-
NameValuePairStreamReader
-
-
Method Details
-
getProperty
- Specified by:
getPropertyin interfaceXMLStreamReader- Throws:
IllegalArgumentException
-
next
- Specified by:
nextin interfaceXMLStreamReader- Throws:
XMLStreamException
-
require
- Specified by:
requirein interfaceXMLStreamReader- Throws:
XMLStreamException
-
getElementText
- Specified by:
getElementTextin interfaceXMLStreamReader- Throws:
XMLStreamException
-
nextTag
- Specified by:
nextTagin interfaceXMLStreamReader- Throws:
XMLStreamException
-
hasNext
- Specified by:
hasNextin interfaceXMLStreamReader- Throws:
XMLStreamException
-
close
- Specified by:
closein interfaceXMLStreamReader- Throws:
XMLStreamException
-
getNamespaceURI
- Specified by:
getNamespaceURIin interfaceXMLStreamReader
-
isStartElement
public boolean isStartElement()- Specified by:
isStartElementin interfaceXMLStreamReader
-
isEndElement
public boolean isEndElement()- Specified by:
isEndElementin interfaceXMLStreamReader
-
isCharacters
public boolean isCharacters()- Specified by:
isCharactersin interfaceXMLStreamReader
-
isWhiteSpace
public boolean isWhiteSpace()- Specified by:
isWhiteSpacein interfaceXMLStreamReader
-
getAttributeValue
- Specified by:
getAttributeValuein interfaceXMLStreamReader
-
getAttributeCount
public int getAttributeCount()- Specified by:
getAttributeCountin interfaceXMLStreamReader
-
getAttributeName
- Specified by:
getAttributeNamein interfaceXMLStreamReader
-
getAttributeNamespace
- Specified by:
getAttributeNamespacein interfaceXMLStreamReader
-
getAttributeLocalName
- Specified by:
getAttributeLocalNamein interfaceXMLStreamReader
-
getAttributePrefix
- Specified by:
getAttributePrefixin interfaceXMLStreamReader
-
getAttributeType
- Specified by:
getAttributeTypein interfaceXMLStreamReader
-
getAttributeValue
- Specified by:
getAttributeValuein interfaceXMLStreamReader
-
isAttributeSpecified
public boolean isAttributeSpecified(int i) - Specified by:
isAttributeSpecifiedin interfaceXMLStreamReader
-
getNamespaceCount
public int getNamespaceCount()- Specified by:
getNamespaceCountin interfaceXMLStreamReader
-
getNamespacePrefix
- Specified by:
getNamespacePrefixin interfaceXMLStreamReader
-
getNamespaceURI
- Specified by:
getNamespaceURIin interfaceXMLStreamReader
-
getNamespaceContext
- Specified by:
getNamespaceContextin interfaceXMLStreamReader
-
getEventType
public int getEventType()- Specified by:
getEventTypein interfaceXMLStreamReader
-
getText
- Specified by:
getTextin interfaceXMLStreamReader
-
getTextCharacters
public char[] getTextCharacters()- Specified by:
getTextCharactersin interfaceXMLStreamReader
-
getTextCharacters
- Specified by:
getTextCharactersin interfaceXMLStreamReader- Throws:
XMLStreamException
-
getTextStart
public int getTextStart()- Specified by:
getTextStartin interfaceXMLStreamReader
-
getTextLength
public int getTextLength()- Specified by:
getTextLengthin interfaceXMLStreamReader
-
getEncoding
- Specified by:
getEncodingin interfaceXMLStreamReader
-
hasText
public boolean hasText()- Specified by:
hasTextin interfaceXMLStreamReader
-
getLocation
- Specified by:
getLocationin interfaceXMLStreamReader
-
getName
- Specified by:
getNamein interfaceXMLStreamReader
-
getLocalName
- Specified by:
getLocalNamein interfaceXMLStreamReader
-
hasName
public boolean hasName()- Specified by:
hasNamein interfaceXMLStreamReader
-
getNamespaceURI
- Specified by:
getNamespaceURIin interfaceXMLStreamReader
-
getPrefix
- Specified by:
getPrefixin interfaceXMLStreamReader
-
getVersion
- Specified by:
getVersionin interfaceXMLStreamReader
-
isStandalone
public boolean isStandalone()- Specified by:
isStandalonein interfaceXMLStreamReader
-
standaloneSet
public boolean standaloneSet()- Specified by:
standaloneSetin interfaceXMLStreamReader
-
getCharacterEncodingScheme
- Specified by:
getCharacterEncodingSchemein interfaceXMLStreamReader
-
getPITarget
- Specified by:
getPITargetin interfaceXMLStreamReader
-
getPIData
- Specified by:
getPIDatain interfaceXMLStreamReader
-
isDone
public boolean isDone()Description copied from interface:ADBXMLStreamReaderExtra method to query the state of the pullparser- Specified by:
isDonein interfaceADBXMLStreamReader
-
addNamespaceContext
Description copied from interface:ADBXMLStreamReaderadd the parent namespace context to this parser- Specified by:
addNamespaceContextin interfaceADBXMLStreamReader
-
init
public void init()Description copied from interface:ADBXMLStreamReaderInitiate the parser - this will do whatever the needed tasks to initiate the parser and must be called before attempting any specific parsing using this parser- Specified by:
initin interfaceADBXMLStreamReader
-