Class XMLStreamReaderExtImpl
- java.lang.Object
-
- org.apache.xmlbeans.impl.richParser.XMLStreamReaderExtImpl
-
- All Implemented Interfaces:
XMLStreamConstants,XMLStreamReader,XMLStreamReaderExt
public class XMLStreamReaderExtImpl extends Object implements XMLStreamReaderExt
Author: Cezar Andrei (cezar.andrei at bea.com) Date: Nov 17, 2003
-
-
Field Summary
-
Fields 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
-
Fields inherited from interface org.apache.xmlbeans.impl.richParser.XMLStreamReaderExt
WS_COLLAPSE, WS_PRESERVE, WS_REPLACE
-
-
Constructor Summary
Constructors Constructor Description XMLStreamReaderExtImpl(XMLStreamReader xmlStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()InputStreamgetAttributeBase64Value(int index)Returns the decoded base64 value as anInputStream.InputStreamgetAttributeBase64Value(String uri, String local)Returns the decoded base64 value as anInputStream.BigDecimalgetAttributeBigDecimalValue(int index)Returns the value as aBigDecimal.BigDecimalgetAttributeBigDecimalValue(String uri, String local)Returns the value as aBigDecimal.BigIntegergetAttributeBigIntegerValue(int index)Returns the value as aBigInteger.BigIntegergetAttributeBigIntegerValue(String uri, String local)Returns the value as aBigInteger.booleangetAttributeBooleanValue(int index)Returns the value as a boolean.booleangetAttributeBooleanValue(String uri, String local)Returns the value as a boolean.bytegetAttributeByteValue(int index)Returns the value as a byte.bytegetAttributeByteValue(String uri, String local)Returns the value as a byte.XmlCalendargetAttributeCalendarValue(int index)Returns the value as an XmlCalendar which extendsCalendar.XmlCalendargetAttributeCalendarValue(String uri, String local)Returns the value as an XmlCalendar which extendsCalendar.intgetAttributeCount()DategetAttributeDateValue(int index)Returns the value as aDate.DategetAttributeDateValue(String uri, String local)Returns the value as aDate.doublegetAttributeDoubleValue(int index)Returns the value as a double.doublegetAttributeDoubleValue(String uri, String local)Returns the value as a double.floatgetAttributeFloatValue(int index)Returns the value as a float.floatgetAttributeFloatValue(String uri, String local)Returns the value as a float.GDategetAttributeGDateValue(int index)Returns the value as aGDate.GDategetAttributeGDateValue(String uri, String local)Returns the value as aGDate.GDurationgetAttributeGDurationValue(int index)Returns the value as aGDuration.GDurationgetAttributeGDurationValue(String uri, String local)Returns the value as aGDuration.InputStreamgetAttributeHexBinaryValue(int index)Returns the decoded hexbinary value as an InputStream.InputStreamgetAttributeHexBinaryValue(String uri, String local)Returns the decoded hexbinary value as an InputStream.intgetAttributeIntValue(int index)Returns the value as an int.intgetAttributeIntValue(String uri, String local)Returns the value as an int.StringgetAttributeLocalName(int i)longgetAttributeLongValue(int index)Returns the value as a long.longgetAttributeLongValue(String uri, String local)Returns the value as a long.QNamegetAttributeName(int i)StringgetAttributeNamespace(int i)StringgetAttributePrefix(int i)QNamegetAttributeQNameValue(int index)Returns the value as aQName.QNamegetAttributeQNameValue(String uri, String local)Returns the value as aQName.shortgetAttributeShortValue(int index)Returns the value as a short.shortgetAttributeShortValue(String uri, String local)Returns the value as a short.StringgetAttributeStringValue(int index)Returns the value as aString.StringgetAttributeStringValue(int index, int wsStyle)Returns the value as aString, with wsStyle applied.StringgetAttributeStringValue(String uri, String local)Returns the value as aString.StringgetAttributeStringValue(String uri, String local, int wsStyle)Returns the value as aString, with wsStyle applied.StringgetAttributeType(int i)StringgetAttributeValue(int i)StringgetAttributeValue(String s, String s1)InputStreamgetBase64Value()Returns the decoded base64 value as anInputStream.BigDecimalgetBigDecimalValue()Returns the value as aBigDecimal.BigIntegergetBigIntegerValue()Returns the value as aBigInteger.booleangetBooleanValue()Returns the value as a boolean.bytegetByteValue()Returns the value as a byte.XmlCalendargetCalendarValue()Returns the value as an XmlCalendar which extendsCalendar.StringgetCharacterEncodingScheme()DategetDateValue()Returns the value as aDate.doublegetDoubleValue()Returns the value as a double.StringgetElementText()StringgetEncoding()intgetEventType()floatgetFloatValue()Returns the value as a float.GDategetGDateValue()Returns the value as aGDate.GDurationgetGDurationValue()Returns the value as aGDuration.InputStreamgetHexBinaryValue()Returns the decoded hexbinary value as an InputStream.intgetIntValue()Returns the value as an int.StringgetLocalName()LocationgetLocation()longgetLongValue()Returns the value as a long.QNamegetName()NamespaceContextgetNamespaceContext()intgetNamespaceCount()StringgetNamespacePrefix(int i)StringgetNamespaceURI()StringgetNamespaceURI(int i)StringgetNamespaceURI(String s)StringgetPIData()StringgetPITarget()StringgetPrefix()ObjectgetProperty(String s)QNamegetQNameValue()Returns the value as aQName.shortgetShortValue()Returns the value as a short.StringgetStringValue()Returns the value as aString.StringgetStringValue(int wsStyle)Returns the value as aString, with wsStyle applied.StringgetText()char[]getTextCharacters()intgetTextCharacters(int i, char[] chars, int i1, int i2)intgetTextLength()intgetTextStart()XMLStreamReadergetUnderlyingXmlStream()StringgetVersion()booleanhasName()booleanhasNext()booleanhasText()booleanisAttributeSpecified(int i)booleanisCharacters()booleanisEndElement()booleanisStandalone()booleanisStartElement()booleanisWhiteSpace()intnext()intnextTag()voidrequire(int i, String s, String s1)voidsetDefaultValue(String defaultValue)Sets the default value for the next getXXXValue() call.booleanstandaloneSet()
-
-
-
Constructor Detail
-
XMLStreamReaderExtImpl
public XMLStreamReaderExtImpl(XMLStreamReader xmlStream)
-
-
Method Detail
-
getUnderlyingXmlStream
public XMLStreamReader getUnderlyingXmlStream()
-
getStringValue
public String getStringValue() throws XMLStreamException
Description copied from interface:XMLStreamReaderExtReturns the value as aString.- Specified by:
getStringValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamException
-
getStringValue
public String getStringValue(int wsStyle) throws XMLStreamException
Description copied from interface:XMLStreamReaderExtReturns the value as aString, with wsStyle applied.- Specified by:
getStringValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamException
-
getBooleanValue
public boolean getBooleanValue() throws XMLStreamException, InvalidLexicalValueExceptionDescription copied from interface:XMLStreamReaderExtReturns the value as a boolean.- Specified by:
getBooleanValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamExceptionInvalidLexicalValueException
-
getByteValue
public byte getByteValue() throws XMLStreamException, InvalidLexicalValueExceptionDescription copied from interface:XMLStreamReaderExtReturns the value as a byte.- Specified by:
getByteValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamExceptionInvalidLexicalValueException
-
getShortValue
public short getShortValue() throws XMLStreamException, InvalidLexicalValueExceptionDescription copied from interface:XMLStreamReaderExtReturns the value as a short.- Specified by:
getShortValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamExceptionInvalidLexicalValueException
-
getIntValue
public int getIntValue() throws XMLStreamException, InvalidLexicalValueExceptionDescription copied from interface:XMLStreamReaderExtReturns the value as an int.- Specified by:
getIntValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamExceptionInvalidLexicalValueException
-
getLongValue
public long getLongValue() throws XMLStreamException, InvalidLexicalValueExceptionDescription copied from interface:XMLStreamReaderExtReturns the value as a long.- Specified by:
getLongValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamExceptionInvalidLexicalValueException
-
getBigIntegerValue
public BigInteger getBigIntegerValue() throws XMLStreamException, InvalidLexicalValueException
Description copied from interface:XMLStreamReaderExtReturns the value as aBigInteger.- Specified by:
getBigIntegerValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamExceptionInvalidLexicalValueException
-
getBigDecimalValue
public BigDecimal getBigDecimalValue() throws XMLStreamException, InvalidLexicalValueException
Description copied from interface:XMLStreamReaderExtReturns the value as aBigDecimal.- Specified by:
getBigDecimalValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamExceptionInvalidLexicalValueException
-
getFloatValue
public float getFloatValue() throws XMLStreamException, InvalidLexicalValueExceptionDescription copied from interface:XMLStreamReaderExtReturns the value as a float.- Specified by:
getFloatValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamExceptionInvalidLexicalValueException
-
getDoubleValue
public double getDoubleValue() throws XMLStreamException, InvalidLexicalValueExceptionDescription copied from interface:XMLStreamReaderExtReturns the value as a double.- Specified by:
getDoubleValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamExceptionInvalidLexicalValueException
-
getHexBinaryValue
public InputStream getHexBinaryValue() throws XMLStreamException, InvalidLexicalValueException
Description copied from interface:XMLStreamReaderExtReturns the decoded hexbinary value as an InputStream.- Specified by:
getHexBinaryValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamExceptionInvalidLexicalValueException
-
getBase64Value
public InputStream getBase64Value() throws XMLStreamException, InvalidLexicalValueException
Description copied from interface:XMLStreamReaderExtReturns the decoded base64 value as anInputStream.- Specified by:
getBase64Valuein interfaceXMLStreamReaderExt- Throws:
XMLStreamExceptionInvalidLexicalValueException
-
getCalendarValue
public XmlCalendar getCalendarValue() throws XMLStreamException, InvalidLexicalValueException
Description copied from interface:XMLStreamReaderExtReturns the value as an XmlCalendar which extendsCalendar.- Specified by:
getCalendarValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamExceptionInvalidLexicalValueException
-
getDateValue
public Date getDateValue() throws XMLStreamException, InvalidLexicalValueException
Description copied from interface:XMLStreamReaderExtReturns the value as aDate.- Specified by:
getDateValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamExceptionInvalidLexicalValueException
-
getGDateValue
public GDate getGDateValue() throws XMLStreamException, InvalidLexicalValueException
Description copied from interface:XMLStreamReaderExtReturns the value as aGDate.- Specified by:
getGDateValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamExceptionInvalidLexicalValueException
-
getGDurationValue
public GDuration getGDurationValue() throws XMLStreamException, InvalidLexicalValueException
Description copied from interface:XMLStreamReaderExtReturns the value as aGDuration.- Specified by:
getGDurationValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamExceptionInvalidLexicalValueException
-
getQNameValue
public QName getQNameValue() throws XMLStreamException, InvalidLexicalValueException
Description copied from interface:XMLStreamReaderExtReturns the value as aQName.- Specified by:
getQNameValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamExceptionInvalidLexicalValueException
-
getAttributeStringValue
public String getAttributeStringValue(int index) throws XMLStreamException
Description copied from interface:XMLStreamReaderExtReturns the value as aString.- Specified by:
getAttributeStringValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamException
-
getAttributeStringValue
public String getAttributeStringValue(int index, int wsStyle) throws XMLStreamException
Description copied from interface:XMLStreamReaderExtReturns the value as aString, with wsStyle applied.- Specified by:
getAttributeStringValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamException
-
getAttributeBooleanValue
public boolean getAttributeBooleanValue(int index) throws XMLStreamExceptionDescription copied from interface:XMLStreamReaderExtReturns the value as a boolean.- Specified by:
getAttributeBooleanValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamException
-
getAttributeByteValue
public byte getAttributeByteValue(int index) throws XMLStreamExceptionDescription copied from interface:XMLStreamReaderExtReturns the value as a byte.- Specified by:
getAttributeByteValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamException
-
getAttributeShortValue
public short getAttributeShortValue(int index) throws XMLStreamExceptionDescription copied from interface:XMLStreamReaderExtReturns the value as a short.- Specified by:
getAttributeShortValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamException
-
getAttributeIntValue
public int getAttributeIntValue(int index) throws XMLStreamExceptionDescription copied from interface:XMLStreamReaderExtReturns the value as an int.- Specified by:
getAttributeIntValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamException
-
getAttributeLongValue
public long getAttributeLongValue(int index) throws XMLStreamExceptionDescription copied from interface:XMLStreamReaderExtReturns the value as a long.- Specified by:
getAttributeLongValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamException
-
getAttributeBigIntegerValue
public BigInteger getAttributeBigIntegerValue(int index) throws XMLStreamException
Description copied from interface:XMLStreamReaderExtReturns the value as aBigInteger.- Specified by:
getAttributeBigIntegerValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamException
-
getAttributeBigDecimalValue
public BigDecimal getAttributeBigDecimalValue(int index) throws XMLStreamException
Description copied from interface:XMLStreamReaderExtReturns the value as aBigDecimal.- Specified by:
getAttributeBigDecimalValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamException
-
getAttributeFloatValue
public float getAttributeFloatValue(int index) throws XMLStreamExceptionDescription copied from interface:XMLStreamReaderExtReturns the value as a float.- Specified by:
getAttributeFloatValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamException
-
getAttributeDoubleValue
public double getAttributeDoubleValue(int index) throws XMLStreamExceptionDescription copied from interface:XMLStreamReaderExtReturns the value as a double.- Specified by:
getAttributeDoubleValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamException
-
getAttributeHexBinaryValue
public InputStream getAttributeHexBinaryValue(int index) throws XMLStreamException
Description copied from interface:XMLStreamReaderExtReturns the decoded hexbinary value as an InputStream.- Specified by:
getAttributeHexBinaryValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamException
-
getAttributeBase64Value
public InputStream getAttributeBase64Value(int index) throws XMLStreamException
Description copied from interface:XMLStreamReaderExtReturns the decoded base64 value as anInputStream.- Specified by:
getAttributeBase64Valuein interfaceXMLStreamReaderExt- Throws:
XMLStreamException
-
getAttributeCalendarValue
public XmlCalendar getAttributeCalendarValue(int index) throws XMLStreamException
Description copied from interface:XMLStreamReaderExtReturns the value as an XmlCalendar which extendsCalendar.- Specified by:
getAttributeCalendarValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamException
-
getAttributeDateValue
public Date getAttributeDateValue(int index) throws XMLStreamException
Description copied from interface:XMLStreamReaderExtReturns the value as aDate.- Specified by:
getAttributeDateValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamException
-
getAttributeGDateValue
public GDate getAttributeGDateValue(int index) throws XMLStreamException
Description copied from interface:XMLStreamReaderExtReturns the value as aGDate.- Specified by:
getAttributeGDateValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamException
-
getAttributeGDurationValue
public GDuration getAttributeGDurationValue(int index) throws XMLStreamException
Description copied from interface:XMLStreamReaderExtReturns the value as aGDuration.- Specified by:
getAttributeGDurationValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamException
-
getAttributeQNameValue
public QName getAttributeQNameValue(int index) throws XMLStreamException
Description copied from interface:XMLStreamReaderExtReturns the value as aQName.- Specified by:
getAttributeQNameValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamException
-
getAttributeStringValue
public String getAttributeStringValue(String uri, String local) throws XMLStreamException
Description copied from interface:XMLStreamReaderExtReturns the value as aString.- Specified by:
getAttributeStringValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamException
-
getAttributeStringValue
public String getAttributeStringValue(String uri, String local, int wsStyle) throws XMLStreamException
Description copied from interface:XMLStreamReaderExtReturns the value as aString, with wsStyle applied.- Specified by:
getAttributeStringValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamException
-
getAttributeBooleanValue
public boolean getAttributeBooleanValue(String uri, String local) throws XMLStreamException
Description copied from interface:XMLStreamReaderExtReturns the value as a boolean.- Specified by:
getAttributeBooleanValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamException
-
getAttributeByteValue
public byte getAttributeByteValue(String uri, String local) throws XMLStreamException
Description copied from interface:XMLStreamReaderExtReturns the value as a byte.- Specified by:
getAttributeByteValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamException
-
getAttributeShortValue
public short getAttributeShortValue(String uri, String local) throws XMLStreamException
Description copied from interface:XMLStreamReaderExtReturns the value as a short.- Specified by:
getAttributeShortValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamException
-
getAttributeIntValue
public int getAttributeIntValue(String uri, String local) throws XMLStreamException
Description copied from interface:XMLStreamReaderExtReturns the value as an int.- Specified by:
getAttributeIntValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamException
-
getAttributeLongValue
public long getAttributeLongValue(String uri, String local) throws XMLStreamException
Description copied from interface:XMLStreamReaderExtReturns the value as a long.- Specified by:
getAttributeLongValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamException
-
getAttributeBigIntegerValue
public BigInteger getAttributeBigIntegerValue(String uri, String local) throws XMLStreamException
Description copied from interface:XMLStreamReaderExtReturns the value as aBigInteger.- Specified by:
getAttributeBigIntegerValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamException
-
getAttributeBigDecimalValue
public BigDecimal getAttributeBigDecimalValue(String uri, String local) throws XMLStreamException
Description copied from interface:XMLStreamReaderExtReturns the value as aBigDecimal.- Specified by:
getAttributeBigDecimalValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamException
-
getAttributeFloatValue
public float getAttributeFloatValue(String uri, String local) throws XMLStreamException
Description copied from interface:XMLStreamReaderExtReturns the value as a float.- Specified by:
getAttributeFloatValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamException
-
getAttributeDoubleValue
public double getAttributeDoubleValue(String uri, String local) throws XMLStreamException
Description copied from interface:XMLStreamReaderExtReturns the value as a double.- Specified by:
getAttributeDoubleValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamException
-
getAttributeHexBinaryValue
public InputStream getAttributeHexBinaryValue(String uri, String local) throws XMLStreamException
Description copied from interface:XMLStreamReaderExtReturns the decoded hexbinary value as an InputStream.- Specified by:
getAttributeHexBinaryValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamException
-
getAttributeBase64Value
public InputStream getAttributeBase64Value(String uri, String local) throws XMLStreamException
Description copied from interface:XMLStreamReaderExtReturns the decoded base64 value as anInputStream.- Specified by:
getAttributeBase64Valuein interfaceXMLStreamReaderExt- Throws:
XMLStreamException
-
getAttributeCalendarValue
public XmlCalendar getAttributeCalendarValue(String uri, String local) throws XMLStreamException
Description copied from interface:XMLStreamReaderExtReturns the value as an XmlCalendar which extendsCalendar.- Specified by:
getAttributeCalendarValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamException
-
getAttributeDateValue
public Date getAttributeDateValue(String uri, String local) throws XMLStreamException
Description copied from interface:XMLStreamReaderExtReturns the value as aDate.- Specified by:
getAttributeDateValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamException
-
getAttributeGDateValue
public GDate getAttributeGDateValue(String uri, String local) throws XMLStreamException
Description copied from interface:XMLStreamReaderExtReturns the value as aGDate.- Specified by:
getAttributeGDateValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamException
-
getAttributeGDurationValue
public GDuration getAttributeGDurationValue(String uri, String local) throws XMLStreamException
Description copied from interface:XMLStreamReaderExtReturns the value as aGDuration.- Specified by:
getAttributeGDurationValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamException
-
getAttributeQNameValue
public QName getAttributeQNameValue(String uri, String local) throws XMLStreamException
Description copied from interface:XMLStreamReaderExtReturns the value as aQName.- Specified by:
getAttributeQNameValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamException
-
setDefaultValue
public void setDefaultValue(String defaultValue) throws XMLStreamException
Description copied from interface:XMLStreamReaderExtSets the default value for the next getXXXValue() call. For example: setDefaultValue("7"); //the xml looks like:<int> </int>int i = getIntValue(); // returns 7 // from now on the default value will not apply anymore Note: Works for getAttributeXXXValue(...) too.- Specified by:
setDefaultValuein interfaceXMLStreamReaderExt- Throws:
XMLStreamException
-
getProperty
public Object getProperty(String s) throws IllegalArgumentException
- Specified by:
getPropertyin interfaceXMLStreamReader- Throws:
IllegalArgumentException
-
next
public int next() throws XMLStreamException- Specified by:
nextin interfaceXMLStreamReader- Throws:
XMLStreamException
-
require
public void require(int i, String s, String s1) throws XMLStreamException- Specified by:
requirein interfaceXMLStreamReader- Throws:
XMLStreamException
-
getElementText
public String getElementText() throws XMLStreamException
- Specified by:
getElementTextin interfaceXMLStreamReader- Throws:
XMLStreamException
-
nextTag
public int nextTag() throws XMLStreamException- Specified by:
nextTagin interfaceXMLStreamReader- Throws:
XMLStreamException
-
hasNext
public boolean hasNext() throws XMLStreamException- Specified by:
hasNextin interfaceXMLStreamReader- Throws:
XMLStreamException
-
close
public void close() throws XMLStreamException- Specified by:
closein interfaceXMLStreamReader- Throws:
XMLStreamException
-
getNamespaceURI
public String getNamespaceURI(String s)
- 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
public String getAttributeValue(String s, String s1)
- Specified by:
getAttributeValuein interfaceXMLStreamReader
-
getAttributeCount
public int getAttributeCount()
- Specified by:
getAttributeCountin interfaceXMLStreamReader
-
getAttributeName
public QName getAttributeName(int i)
- Specified by:
getAttributeNamein interfaceXMLStreamReader
-
getAttributeNamespace
public String getAttributeNamespace(int i)
- Specified by:
getAttributeNamespacein interfaceXMLStreamReader
-
getAttributeLocalName
public String getAttributeLocalName(int i)
- Specified by:
getAttributeLocalNamein interfaceXMLStreamReader
-
getAttributePrefix
public String getAttributePrefix(int i)
- Specified by:
getAttributePrefixin interfaceXMLStreamReader
-
getAttributeType
public String getAttributeType(int i)
- Specified by:
getAttributeTypein interfaceXMLStreamReader
-
getAttributeValue
public String getAttributeValue(int i)
- Specified by:
getAttributeValuein interfaceXMLStreamReader
-
isAttributeSpecified
public boolean isAttributeSpecified(int i)
- Specified by:
isAttributeSpecifiedin interfaceXMLStreamReader
-
getNamespaceCount
public int getNamespaceCount()
- Specified by:
getNamespaceCountin interfaceXMLStreamReader
-
getNamespacePrefix
public String getNamespacePrefix(int i)
- Specified by:
getNamespacePrefixin interfaceXMLStreamReader
-
getNamespaceURI
public String getNamespaceURI(int i)
- Specified by:
getNamespaceURIin interfaceXMLStreamReader
-
getNamespaceContext
public NamespaceContext getNamespaceContext()
- Specified by:
getNamespaceContextin interfaceXMLStreamReader
-
getEventType
public int getEventType()
- Specified by:
getEventTypein interfaceXMLStreamReader
-
getText
public String getText()
- Specified by:
getTextin interfaceXMLStreamReader
-
getTextCharacters
public char[] getTextCharacters()
- Specified by:
getTextCharactersin interfaceXMLStreamReader
-
getTextCharacters
public int getTextCharacters(int i, char[] chars, int i1, int i2) throws XMLStreamException- Specified by:
getTextCharactersin interfaceXMLStreamReader- Throws:
XMLStreamException
-
getTextStart
public int getTextStart()
- Specified by:
getTextStartin interfaceXMLStreamReader
-
getTextLength
public int getTextLength()
- Specified by:
getTextLengthin interfaceXMLStreamReader
-
getEncoding
public String getEncoding()
- Specified by:
getEncodingin interfaceXMLStreamReader
-
hasText
public boolean hasText()
- Specified by:
hasTextin interfaceXMLStreamReader
-
getLocation
public Location getLocation()
- Specified by:
getLocationin interfaceXMLStreamReader
-
getName
public QName getName()
- Specified by:
getNamein interfaceXMLStreamReader
-
getLocalName
public String getLocalName()
- Specified by:
getLocalNamein interfaceXMLStreamReader
-
hasName
public boolean hasName()
- Specified by:
hasNamein interfaceXMLStreamReader
-
getNamespaceURI
public String getNamespaceURI()
- Specified by:
getNamespaceURIin interfaceXMLStreamReader
-
getPrefix
public String getPrefix()
- Specified by:
getPrefixin interfaceXMLStreamReader
-
getVersion
public String getVersion()
- Specified by:
getVersionin interfaceXMLStreamReader
-
isStandalone
public boolean isStandalone()
- Specified by:
isStandalonein interfaceXMLStreamReader
-
standaloneSet
public boolean standaloneSet()
- Specified by:
standaloneSetin interfaceXMLStreamReader
-
getCharacterEncodingScheme
public String getCharacterEncodingScheme()
- Specified by:
getCharacterEncodingSchemein interfaceXMLStreamReader
-
getPITarget
public String getPITarget()
- Specified by:
getPITargetin interfaceXMLStreamReader
-
getPIData
public String getPIData()
- Specified by:
getPIDatain interfaceXMLStreamReader
-
-