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