Method from org.apache.xmlbeans.impl.richParser.XMLStreamReaderExt Detail: |
public InputStream getAttributeBase64Value(int index) throws XMLStreamException
Returns the decoded base64 value as anInputStream. |
public InputStream getAttributeBase64Value(String uri,
String local) throws XMLStreamException
Returns the decoded base64 value as anInputStream. |
public BigDecimal getAttributeBigDecimalValue(int index) throws XMLStreamException
|
public BigDecimal getAttributeBigDecimalValue(String uri,
String local) throws XMLStreamException
|
public BigInteger getAttributeBigIntegerValue(int index) throws XMLStreamException
|
public BigInteger getAttributeBigIntegerValue(String uri,
String local) throws XMLStreamException
|
public boolean getAttributeBooleanValue(int index) throws XMLStreamException
Returns the value as a boolean. |
public boolean getAttributeBooleanValue(String uri,
String local) throws XMLStreamException
Returns the value as a boolean. |
public byte getAttributeByteValue(int index) throws XMLStreamException
Returns the value as a byte. |
public byte getAttributeByteValue(String uri,
String local) throws XMLStreamException
Returns the value as a byte. |
public XmlCalendar getAttributeCalendarValue(int index) throws XMLStreamException
|
public XmlCalendar getAttributeCalendarValue(String uri,
String local) throws XMLStreamException
|
public Date getAttributeDateValue(int index) throws XMLStreamException
|
public Date getAttributeDateValue(String uri,
String local) throws XMLStreamException
|
public double getAttributeDoubleValue(int index) throws XMLStreamException
Returns the value as a double. |
public double getAttributeDoubleValue(String uri,
String local) throws XMLStreamException
Returns the value as a double. |
public float getAttributeFloatValue(int index) throws XMLStreamException
Returns the value as a float. |
public float getAttributeFloatValue(String uri,
String local) throws XMLStreamException
Returns the value as a float. |
public GDate getAttributeGDateValue(int index) throws XMLStreamException
|
public GDate getAttributeGDateValue(String uri,
String local) throws XMLStreamException
|
public GDuration getAttributeGDurationValue(int index) throws XMLStreamException
|
public GDuration getAttributeGDurationValue(String uri,
String local) throws XMLStreamException
|
public InputStream getAttributeHexBinaryValue(int index) throws XMLStreamException
Returns the decoded hexbinary value as an InputStream. |
public InputStream getAttributeHexBinaryValue(String uri,
String local) throws XMLStreamException
Returns the decoded hexbinary value as an InputStream. |
public int getAttributeIntValue(int index) throws XMLStreamException
Returns the value as an int. |
public int getAttributeIntValue(String uri,
String local) throws XMLStreamException
Returns the value as an int. |
public long getAttributeLongValue(int index) throws XMLStreamException
Returns the value as a long. |
public long getAttributeLongValue(String uri,
String local) throws XMLStreamException
Returns the value as a long. |
public QName getAttributeQNameValue(int index) throws XMLStreamException
|
public QName getAttributeQNameValue(String uri,
String local) throws XMLStreamException
|
public short getAttributeShortValue(int index) throws XMLStreamException
Returns the value as a short. |
public short getAttributeShortValue(String uri,
String local) throws XMLStreamException
Returns the value as a short. |
public String getAttributeStringValue(int index) throws XMLStreamException
Returns the value as a String . |
public String getAttributeStringValue(int index,
int wsStyle) throws XMLStreamException
Returns the value as a String , with wsStyle applied. |
public String getAttributeStringValue(String uri,
String local) throws XMLStreamException
Returns the value as a String . |
public String getAttributeStringValue(String uri,
String local,
int wsStyle) throws XMLStreamException
Returns the value as a String , with wsStyle applied. |
public InputStream getBase64Value() throws XMLStreamException
Returns the decoded base64 value as anInputStream. |
public BigDecimal getBigDecimalValue() throws XMLStreamException
|
public BigInteger getBigIntegerValue() throws XMLStreamException
|
public boolean getBooleanValue() throws XMLStreamException
Returns the value as a boolean. |
public byte getByteValue() throws XMLStreamException
Returns the value as a byte. |
public XmlCalendar getCalendarValue() throws XMLStreamException
|
public Date getDateValue() throws XMLStreamException
|
public double getDoubleValue() throws XMLStreamException
Returns the value as a double. |
public float getFloatValue() throws XMLStreamException
Returns the value as a float. |
public GDate getGDateValue() throws XMLStreamException
|
public GDuration getGDurationValue() throws XMLStreamException
|
public InputStream getHexBinaryValue() throws XMLStreamException
Returns the decoded hexbinary value as an InputStream. |
public int getIntValue() throws XMLStreamException
Returns the value as an int. |
public long getLongValue() throws XMLStreamException
Returns the value as a long. |
public QName getQNameValue() throws XMLStreamException
|
public short getShortValue() throws XMLStreamException
Returns the value as a short. |
public String getStringValue() throws XMLStreamException
Returns the value as a String . |
public String getStringValue(int wsStyle) throws XMLStreamException
Returns the value as a String , with wsStyle applied. |
public void setDefaultValue(String defaultValue) throws XMLStreamException
Sets 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. |