public class XmlUnionImpl extends XmlObjectBase implements XmlAnySimpleType
XmlAnySimpleType.Factory_voorVc, KIND_SETTERHELPER_ARRAYITEM, KIND_SETTERHELPER_SINGLETON, MAJOR_VERSION_NUMBER, MINOR_VERSION_NUMBERtypeEQUAL, 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, xmlTextset, setStringValue, stringValuechangeType, compareTo, compareValue, copy, copy, execQuery, execQuery, isImmutable, isNil, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set, setNil, substitute, toString, validate, validate, valueEquals, valueHashCodedocumentProperties, dump, getDomNode, monitor, newCursor, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, xmlText, xmlTextpublic XmlUnionImpl(SchemaType type, boolean complex)
public SchemaType schemaType()
schemaType in interface XmlObjectschemaType in class XmlObjectBasepublic SchemaType instanceType()
SimpleValueFor 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 SimpleValueinstanceType in class XmlObjectBasepublic float getFloatValue()
SimpleValuegetFloatValue in interface SimpleValuegetFloatValue in class XmlObjectBasepublic double getDoubleValue()
SimpleValuegetDoubleValue in interface SimpleValuegetDoubleValue in class XmlObjectBasepublic BigDecimal getBigDecimalValue()
SimpleValueBigDecimal.getBigDecimalValue in interface SimpleValuegetBigDecimalValue in class XmlObjectBasepublic BigInteger getBigIntegerValue()
SimpleValueBigInteger.getBigIntegerValue in interface SimpleValuegetBigIntegerValue in class XmlObjectBasepublic byte getByteValue()
SimpleValuegetByteValue in interface SimpleValuegetByteValue in class XmlObjectBasepublic short getShortValue()
SimpleValuegetShortValue in interface SimpleValuegetShortValue in class XmlObjectBasepublic int getIntValue()
SimpleValuegetIntValue in interface SimpleValuegetIntValue in class XmlObjectBasepublic long getLongValue()
SimpleValuegetLongValue in interface SimpleValuegetLongValue in class XmlObjectBasepublic byte[] getByteArrayValue()
SimpleValuegetByteArrayValue in interface SimpleValuegetByteArrayValue in class XmlObjectBasepublic boolean getBooleanValue()
SimpleValuegetBooleanValue in interface SimpleValuegetBooleanValue in class XmlObjectBasepublic Calendar getCalendarValue()
SimpleValueCalendar.getCalendarValue in interface SimpleValuegetCalendarValue in class XmlObjectBasepublic Date getDateValue()
SimpleValueDate.getDateValue in interface SimpleValuegetDateValue in class XmlObjectBasepublic GDate getGDateValue()
SimpleValueGDate.getGDateValue in interface SimpleValuegetGDateValue in class XmlObjectBasepublic GDuration getGDurationValue()
SimpleValueGDuration.getGDurationValue in interface SimpleValuegetGDurationValue in class XmlObjectBasepublic QName getQNameValue()
SimpleValueQName.getQNameValue in interface SimpleValuegetQNameValue in class XmlObjectBasepublic List getListValue()
SimpleValueList of friendly Java objects (String, Integer, Byte, Short, Long, BigInteger, Decimal, Float, Double, byte[], Calendar, GDuration).getListValue in interface SimpleValuegetListValue in class XmlObjectBasepublic List xgetListValue()
SimpleValueList of XmlAnySimpleType objects.xgetListValue in interface SimpleValuexgetListValue in class XmlObjectBasepublic StringEnumAbstractBase getEnumValue()
SimpleValueStringEnumAbstractBase.getEnumValue in interface SimpleValuegetEnumValue in class XmlObjectBasepublic String getStringValue()
SimpleValueString.getStringValue in interface SimpleValuegetStringValue in interface XmlAnySimpleTypegetStringValue in class XmlObjectBaseCopyright © 2010 - 2020 Adobe. All Rights Reserved