public class XmlUnionImpl extends XmlObjectBase implements XmlAnySimpleType
XmlAnySimpleType.Factory
_voorVc, KIND_SETTERHELPER_ARRAYITEM, KIND_SETTERHELPER_SINGLETON, MAJOR_VERSION_NUMBER, MINOR_VERSION_NUMBER
type
EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL
Constructor and Description |
---|
XmlUnionImpl(SchemaType type,
boolean complex) |
Modifier and Type | Method and Description |
---|---|
BigDecimal |
getBigDecimalValue()
Returns the value as a
BigDecimal . |
BigInteger |
getBigIntegerValue()
Returns the value as a
BigInteger . |
boolean |
getBooleanValue()
Returns the value as a boolean.
|
byte[] |
getByteArrayValue()
Returns the value as a byte array.
|
byte |
getByteValue()
Returns the value as a byte.
|
Calendar |
getCalendarValue()
Returns the value as a
Calendar . |
Date |
getDateValue()
Returns the value as a
Date . |
double |
getDoubleValue()
Returns the value as a double.
|
StringEnumAbstractBase |
getEnumValue()
Returns the value as a
StringEnumAbstractBase . |
float |
getFloatValue()
Returns the value as a float.
|
GDate |
getGDateValue()
Returns the value as a
GDate . |
GDuration |
getGDurationValue()
Returns the value as a
GDuration . |
int |
getIntValue()
Returns the value as an int.
|
List |
getListValue()
Returns the value as a
List of friendly Java objects (String, Integer, Byte, Short, Long, BigInteger, Decimal, Float, Double, byte[], Calendar, GDuration). |
long |
getLongValue()
Returns the value as a long.
|
QName |
getQNameValue()
Returns the value as a
QName . |
short |
getShortValue()
Returns the value as a short.
|
String |
getStringValue()
Returns the value as a
String . |
SchemaType |
instanceType()
The same as getSchemaType unless this is a union instance
or nil value.
|
SchemaType |
schemaType() |
List |
xgetListValue()
Returns the value as a
List of XmlAnySimpleType objects. |
_copy, _copy, _set, attach_store, bigDecimalValue, bigIntegerValue, booleanValue, build_nil, build_text, byteArrayValue, byteValue, calendarValue, changeType, check_dated, compareTo, compareValue, copy, copy, create_attribute_user, create_element_user, dateValue, disconnect_store, documentProperties, doubleValue, dump, enumValue, equals, execQuery, execQuery, floatValue, gDateValue, gDurationValue, generatedSetterHelperImpl, get_attribute_field, get_attribute_type, get_attributeflags, get_default_attribute_text, get_default_element_text, get_element_ending_delimiters, get_element_type, get_elementflags, get_schema_type, get_store, get_wscanon_text, getDomNode, getObjectValue, getXmlLocale, hashCode, init_flags, intValue, invalidate_element_order, invalidate_nilvalue, invalidate_value, is_child_element_order_sensitive, isDefault, isDefaultable, isFixed, isImmutable, isInstanceOf, isNil, isNillable, listValue, longValue, monitor, new_visitor, newCursor, newCursorForce, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, newXMLStreamReader, newXMLStreamReader, objectSet, objectValue, qNameValue, save, save, save, save, save, save, save, save, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set_newValue, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, setBigDecimalValue, setBigIntegerValue, setBooleanValue, setByteArrayValue, setByteValue, setCalendarValue, setDateValue, setDoubleValue, setEnumValue, setFloatValue, setGDateValue, setGDateValue, setGDurationValue, setGDurationValue, setImmutable, setIntValue, setListValue, setLongValue, setNil, setObjectValue, setQNameValue, setShortValue, setStringValue, setValidateOnSet, shortValue, stringValue, substitute, toString, uses_invalidate_value, validate_now, validate, validate, valueEquals, valueHashCode, writeReplace, xlistValue, xmlText, xmlText
set, setStringValue, stringValue
changeType, compareTo, compareValue, copy, copy, execQuery, execQuery, isImmutable, isNil, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set, setNil, substitute, toString, validate, validate, valueEquals, valueHashCode
documentProperties, dump, getDomNode, monitor, newCursor, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, xmlText, xmlText
public XmlUnionImpl(SchemaType type, boolean complex)
public SchemaType schemaType()
schemaType
in interface XmlObject
schemaType
in class XmlObjectBase
public SchemaType instanceType()
SimpleValue
For unions, this returns the non-union consituent type of this instance. This type may change if setters are called that cause the instance to change to another constituent type of the union.
For nil values, this returns null.
instanceType
in interface SimpleValue
instanceType
in class XmlObjectBase
public float getFloatValue()
SimpleValue
getFloatValue
in interface SimpleValue
getFloatValue
in class XmlObjectBase
public double getDoubleValue()
SimpleValue
getDoubleValue
in interface SimpleValue
getDoubleValue
in class XmlObjectBase
public BigDecimal getBigDecimalValue()
SimpleValue
BigDecimal
.getBigDecimalValue
in interface SimpleValue
getBigDecimalValue
in class XmlObjectBase
public BigInteger getBigIntegerValue()
SimpleValue
BigInteger
.getBigIntegerValue
in interface SimpleValue
getBigIntegerValue
in class XmlObjectBase
public byte getByteValue()
SimpleValue
getByteValue
in interface SimpleValue
getByteValue
in class XmlObjectBase
public short getShortValue()
SimpleValue
getShortValue
in interface SimpleValue
getShortValue
in class XmlObjectBase
public int getIntValue()
SimpleValue
getIntValue
in interface SimpleValue
getIntValue
in class XmlObjectBase
public long getLongValue()
SimpleValue
getLongValue
in interface SimpleValue
getLongValue
in class XmlObjectBase
public byte[] getByteArrayValue()
SimpleValue
getByteArrayValue
in interface SimpleValue
getByteArrayValue
in class XmlObjectBase
public boolean getBooleanValue()
SimpleValue
getBooleanValue
in interface SimpleValue
getBooleanValue
in class XmlObjectBase
public Calendar getCalendarValue()
SimpleValue
Calendar
.getCalendarValue
in interface SimpleValue
getCalendarValue
in class XmlObjectBase
public Date getDateValue()
SimpleValue
Date
.getDateValue
in interface SimpleValue
getDateValue
in class XmlObjectBase
public GDate getGDateValue()
SimpleValue
GDate
.getGDateValue
in interface SimpleValue
getGDateValue
in class XmlObjectBase
public GDuration getGDurationValue()
SimpleValue
GDuration
.getGDurationValue
in interface SimpleValue
getGDurationValue
in class XmlObjectBase
public QName getQNameValue()
SimpleValue
QName
.getQNameValue
in interface SimpleValue
getQNameValue
in class XmlObjectBase
public List getListValue()
SimpleValue
List
of friendly Java objects (String, Integer, Byte, Short, Long, BigInteger, Decimal, Float, Double, byte[], Calendar, GDuration).getListValue
in interface SimpleValue
getListValue
in class XmlObjectBase
public List xgetListValue()
SimpleValue
List
of XmlAnySimpleType objects.xgetListValue
in interface SimpleValue
xgetListValue
in class XmlObjectBase
public StringEnumAbstractBase getEnumValue()
SimpleValue
StringEnumAbstractBase
.getEnumValue
in interface SimpleValue
getEnumValue
in class XmlObjectBase
public String getStringValue()
SimpleValue
String
.getStringValue
in interface SimpleValue
getStringValue
in interface XmlAnySimpleType
getStringValue
in class XmlObjectBase
Copyright © 2010 - 2020 Adobe. All Rights Reserved