Class ExtensionTypeImpl
- java.lang.Object
-
- org.apache.xmlbeans.impl.values.XmlObjectBase
-
- org.apache.xmlbeans.impl.values.XmlComplexContentImpl
-
- org.apache.xmlbeans.impl.xb.xsdschema.impl.OpenAttrsImpl
-
- org.apache.xmlbeans.impl.xb.xsdschema.impl.AnnotatedImpl
-
- org.apache.xmlbeans.impl.xb.xsdschema.impl.ExtensionTypeImpl
-
- All Implemented Interfaces:
Serializable,TypeStoreUser,Annotated,ExtensionType,OpenAttrs,SimpleValue,XmlObject,XmlTokenSource
- Direct Known Subclasses:
SimpleExtensionTypeImpl
public class ExtensionTypeImpl extends AnnotatedImpl implements ExtensionType
An XML extensionType(@http://www.w3.org/2001/XMLSchema). This is a complex type.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.xmlbeans.impl.values.XmlObjectBase
_voorVc, KIND_SETTERHELPER_ARRAYITEM, KIND_SETTERHELPER_SINGLETON, MAJOR_VERSION_NUMBER, MINOR_VERSION_NUMBER
-
Fields inherited from interface org.apache.xmlbeans.impl.xb.xsdschema.ExtensionType
Factory, type
-
-
Constructor Summary
Constructors Constructor Description ExtensionTypeImpl(SchemaType sType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlladdNewAll()Appends and returns a new empty "all" elementWildcardaddNewAnyAttribute()Appends and returns a new empty "anyAttribute" elementAttributeaddNewAttribute()Appends and returns a new empty value (as xml) as the last "attribute" elementAttributeGroupRefaddNewAttributeGroup()Appends and returns a new empty value (as xml) as the last "attributeGroup" elementExplicitGroupaddNewChoice()Appends and returns a new empty "choice" elementGroupRefaddNewGroup()Appends and returns a new empty "group" elementExplicitGroupaddNewSequence()Appends and returns a new empty "sequence" elementAllgetAll()Gets the "all" elementWildcardgetAnyAttribute()Gets the "anyAttribute" elementAttribute[]getAttributeArray()Gets array of all "attribute" elementsAttributegetAttributeArray(int i)Gets ith "attribute" elementAttributeGroupRef[]getAttributeGroupArray()Gets array of all "attributeGroup" elementsAttributeGroupRefgetAttributeGroupArray(int i)Gets ith "attributeGroup" elementList<AttributeGroupRef>getAttributeGroupList()Gets a List of "attributeGroup" elementsList<Attribute>getAttributeList()Gets a List of "attribute" elementsQNamegetBase()Gets the "base" attributeExplicitGroupgetChoice()Gets the "choice" elementGroupRefgetGroup()Gets the "group" elementExplicitGroupgetSequence()Gets the "sequence" elementAttributeinsertNewAttribute(int i)Inserts and returns a new empty value (as xml) as the ith "attribute" elementAttributeGroupRefinsertNewAttributeGroup(int i)Inserts and returns a new empty value (as xml) as the ith "attributeGroup" elementbooleanisSetAll()True if has "all" elementbooleanisSetAnyAttribute()True if has "anyAttribute" elementbooleanisSetChoice()True if has "choice" elementbooleanisSetGroup()True if has "group" elementbooleanisSetSequence()True if has "sequence" elementvoidremoveAttribute(int i)Removes the ith "attribute" elementvoidremoveAttributeGroup(int i)Removes the ith "attributeGroup" elementvoidsetAll(All all)Sets the "all" elementvoidsetAnyAttribute(Wildcard anyAttribute)Sets the "anyAttribute" elementvoidsetAttributeArray(int i, Attribute attribute)Sets ith "attribute" elementvoidsetAttributeArray(Attribute[] attributeArray)Sets array of all "attribute" element WARNING: This method is not atomicaly synchronized.voidsetAttributeGroupArray(int i, AttributeGroupRef attributeGroup)Sets ith "attributeGroup" elementvoidsetAttributeGroupArray(AttributeGroupRef[] attributeGroupArray)Sets array of all "attributeGroup" element WARNING: This method is not atomicaly synchronized.voidsetBase(QName base)Sets the "base" attributevoidsetChoice(ExplicitGroup choice)Sets the "choice" elementvoidsetGroup(GroupRef group)Sets the "group" elementvoidsetSequence(ExplicitGroup sequence)Sets the "sequence" elementintsizeOfAttributeArray()Returns number of "attribute" elementintsizeOfAttributeGroupArray()Returns number of "attributeGroup" elementvoidunsetAll()Unsets the "all" elementvoidunsetAnyAttribute()Unsets the "anyAttribute" elementvoidunsetChoice()Unsets the "choice" elementvoidunsetGroup()Unsets the "group" elementvoidunsetSequence()Unsets the "sequence" elementXmlQNamexgetBase()Gets (as xml) the "base" attributevoidxsetBase(XmlQName base)Sets (as xml) the "base" attribute-
Methods inherited from class org.apache.xmlbeans.impl.xb.xsdschema.impl.AnnotatedImpl
addNewAnnotation, getAnnotation, getId, isSetAnnotation, isSetId, setAnnotation, setId, unsetAnnotation, unsetId, xgetId, xsetId
-
Methods inherited from class org.apache.xmlbeans.impl.values.XmlComplexContentImpl
arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, compute_text, equal_to, get_default_attribute_text, get_default_element_text, get_elementflags, is_child_element_order_sensitive, new_visitor, schemaType, set_nil, set_String, set_text, unionArraySetterHelper, unionArraySetterHelper, update_from_complex_content, value_hash_code
-
Methods inherited from class org.apache.xmlbeans.impl.values.XmlObjectBase
_copy, _copy, _isComplexContent, _isComplexType, _set, _validateOnSet, attach_store, build_nil, build_text, changeType, check_dated, check_orphaned, compare_to, compareTo, compareValue, copy, copy, create_attribute_user, create_element_user, disconnect_store, documentProperties, dump, elementFlags, equals, execQuery, execQuery, generatedSetterHelperImpl, get_attribute_field, get_attribute_type, get_attributeflags, get_default_attribute_value, get_element_ending_delimiters, get_element_type, get_schema_type, get_store, get_wscanon_rule, get_wscanon_text, getBigDecimalValue, getBigIntegerValue, getBooleanArray, getBooleanArray, getBooleanValue, getByteArray, getByteArray, getByteArrayValue, getByteValue, getCalendarValue, getDateValue, getDomNode, getDoubleArray, getDoubleArray, getDoubleValue, getEnumArray, getEnumArray, getEnumValue, getFloatArray, getFloatArray, getFloatValue, getGDateValue, getGDurationValue, getIntArray, getIntArray, getIntValue, getListValue, getLongArray, getLongArray, getLongValue, getObjectArray, getObjectArray, getObjectValue, getQNameValue, getShortArray, getShortArray, getShortValue, getStringValue, getXmlLocale, getXmlObjectArray, getXmlObjectArray, has_store, hashCode, init_flags, initComplexType, instanceType, invalidate_element_order, invalidate_nilvalue, invalidate_value, is_defaultable_ws, is_orphaned, isDefault, isDefaultable, isFixed, isImmutable, isInstanceOf, isNil, isNillable, java_value, monitor, newCursor, newCursorForce, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set, set_b64, set_BigDecimal, set_BigInteger, set_boolean, set_byte, set_ByteArray, set_Calendar, set_char, set_ComplexXml, set_Date, set_double, set_enum, set_float, set_GDate, set_GDuration, set_hex, set_int, set_list, set_long, set_newValue, set_notation, set_QName, set_short, set_xmlanysimple, setBigDecimalValue, setBigIntegerValue, setBooleanValue, setByteArrayValue, setByteValue, setCalendarValue, setDateValue, setDoubleValue, setEnumValue, setFloatValue, setGDateValue, setGDateValue, setGDurationValue, setGDurationValue, setImmutable, setIntValue, setListValue, setLongValue, setNil, setObjectValue, setQNameValue, setShortValue, setStringValue, setValidateOnSet, substitute, toString, uses_invalidate_value, validate, validate, validate_now, validate_simpleval, valueEquals, valueHashCode, writeReplace, xgetArray, xgetArray, xgetListValue, xmlText, xmlText
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.xmlbeans.impl.xb.xsdschema.Annotated
addNewAnnotation, getAnnotation, getId, isSetAnnotation, isSetId, setAnnotation, setId, unsetAnnotation, unsetId, xgetId, xsetId
-
Methods inherited from interface org.apache.xmlbeans.XmlObject
changeType, compareTo, compareValue, copy, copy, execQuery, execQuery, isImmutable, isNil, schemaType, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set, setNil, substitute, toString, validate, validate, valueEquals, valueHashCode
-
Methods inherited from interface org.apache.xmlbeans.XmlTokenSource
documentProperties, dump, getDomNode, monitor, newCursor, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, xmlText, xmlText
-
-
-
-
Constructor Detail
-
ExtensionTypeImpl
public ExtensionTypeImpl(SchemaType sType)
-
-
Method Detail
-
getGroup
public GroupRef getGroup()
Gets the "group" element- Specified by:
getGroupin interfaceExtensionType
-
isSetGroup
public boolean isSetGroup()
True if has "group" element- Specified by:
isSetGroupin interfaceExtensionType
-
setGroup
public void setGroup(GroupRef group)
Sets the "group" element- Specified by:
setGroupin interfaceExtensionType
-
addNewGroup
public GroupRef addNewGroup()
Appends and returns a new empty "group" element- Specified by:
addNewGroupin interfaceExtensionType
-
unsetGroup
public void unsetGroup()
Unsets the "group" element- Specified by:
unsetGroupin interfaceExtensionType
-
getAll
public All getAll()
Gets the "all" element- Specified by:
getAllin interfaceExtensionType
-
isSetAll
public boolean isSetAll()
True if has "all" element- Specified by:
isSetAllin interfaceExtensionType
-
setAll
public void setAll(All all)
Sets the "all" element- Specified by:
setAllin interfaceExtensionType
-
addNewAll
public All addNewAll()
Appends and returns a new empty "all" element- Specified by:
addNewAllin interfaceExtensionType
-
unsetAll
public void unsetAll()
Unsets the "all" element- Specified by:
unsetAllin interfaceExtensionType
-
getChoice
public ExplicitGroup getChoice()
Gets the "choice" element- Specified by:
getChoicein interfaceExtensionType
-
isSetChoice
public boolean isSetChoice()
True if has "choice" element- Specified by:
isSetChoicein interfaceExtensionType
-
setChoice
public void setChoice(ExplicitGroup choice)
Sets the "choice" element- Specified by:
setChoicein interfaceExtensionType
-
addNewChoice
public ExplicitGroup addNewChoice()
Appends and returns a new empty "choice" element- Specified by:
addNewChoicein interfaceExtensionType
-
unsetChoice
public void unsetChoice()
Unsets the "choice" element- Specified by:
unsetChoicein interfaceExtensionType
-
getSequence
public ExplicitGroup getSequence()
Gets the "sequence" element- Specified by:
getSequencein interfaceExtensionType
-
isSetSequence
public boolean isSetSequence()
True if has "sequence" element- Specified by:
isSetSequencein interfaceExtensionType
-
setSequence
public void setSequence(ExplicitGroup sequence)
Sets the "sequence" element- Specified by:
setSequencein interfaceExtensionType
-
addNewSequence
public ExplicitGroup addNewSequence()
Appends and returns a new empty "sequence" element- Specified by:
addNewSequencein interfaceExtensionType
-
unsetSequence
public void unsetSequence()
Unsets the "sequence" element- Specified by:
unsetSequencein interfaceExtensionType
-
getAttributeList
public List<Attribute> getAttributeList()
Gets a List of "attribute" elements- Specified by:
getAttributeListin interfaceExtensionType
-
getAttributeArray
public Attribute[] getAttributeArray()
Gets array of all "attribute" elements- Specified by:
getAttributeArrayin interfaceExtensionType
-
getAttributeArray
public Attribute getAttributeArray(int i)
Gets ith "attribute" element- Specified by:
getAttributeArrayin interfaceExtensionType
-
sizeOfAttributeArray
public int sizeOfAttributeArray()
Returns number of "attribute" element- Specified by:
sizeOfAttributeArrayin interfaceExtensionType
-
setAttributeArray
public void setAttributeArray(Attribute[] attributeArray)
Sets array of all "attribute" element WARNING: This method is not atomicaly synchronized.- Specified by:
setAttributeArrayin interfaceExtensionType
-
setAttributeArray
public void setAttributeArray(int i, Attribute attribute)Sets ith "attribute" element- Specified by:
setAttributeArrayin interfaceExtensionType
-
insertNewAttribute
public Attribute insertNewAttribute(int i)
Inserts and returns a new empty value (as xml) as the ith "attribute" element- Specified by:
insertNewAttributein interfaceExtensionType
-
addNewAttribute
public Attribute addNewAttribute()
Appends and returns a new empty value (as xml) as the last "attribute" element- Specified by:
addNewAttributein interfaceExtensionType
-
removeAttribute
public void removeAttribute(int i)
Removes the ith "attribute" element- Specified by:
removeAttributein interfaceExtensionType
-
getAttributeGroupList
public List<AttributeGroupRef> getAttributeGroupList()
Gets a List of "attributeGroup" elements- Specified by:
getAttributeGroupListin interfaceExtensionType
-
getAttributeGroupArray
public AttributeGroupRef[] getAttributeGroupArray()
Gets array of all "attributeGroup" elements- Specified by:
getAttributeGroupArrayin interfaceExtensionType
-
getAttributeGroupArray
public AttributeGroupRef getAttributeGroupArray(int i)
Gets ith "attributeGroup" element- Specified by:
getAttributeGroupArrayin interfaceExtensionType
-
sizeOfAttributeGroupArray
public int sizeOfAttributeGroupArray()
Returns number of "attributeGroup" element- Specified by:
sizeOfAttributeGroupArrayin interfaceExtensionType
-
setAttributeGroupArray
public void setAttributeGroupArray(AttributeGroupRef[] attributeGroupArray)
Sets array of all "attributeGroup" element WARNING: This method is not atomicaly synchronized.- Specified by:
setAttributeGroupArrayin interfaceExtensionType
-
setAttributeGroupArray
public void setAttributeGroupArray(int i, AttributeGroupRef attributeGroup)Sets ith "attributeGroup" element- Specified by:
setAttributeGroupArrayin interfaceExtensionType
-
insertNewAttributeGroup
public AttributeGroupRef insertNewAttributeGroup(int i)
Inserts and returns a new empty value (as xml) as the ith "attributeGroup" element- Specified by:
insertNewAttributeGroupin interfaceExtensionType
-
addNewAttributeGroup
public AttributeGroupRef addNewAttributeGroup()
Appends and returns a new empty value (as xml) as the last "attributeGroup" element- Specified by:
addNewAttributeGroupin interfaceExtensionType
-
removeAttributeGroup
public void removeAttributeGroup(int i)
Removes the ith "attributeGroup" element- Specified by:
removeAttributeGroupin interfaceExtensionType
-
getAnyAttribute
public Wildcard getAnyAttribute()
Gets the "anyAttribute" element- Specified by:
getAnyAttributein interfaceExtensionType
-
isSetAnyAttribute
public boolean isSetAnyAttribute()
True if has "anyAttribute" element- Specified by:
isSetAnyAttributein interfaceExtensionType
-
setAnyAttribute
public void setAnyAttribute(Wildcard anyAttribute)
Sets the "anyAttribute" element- Specified by:
setAnyAttributein interfaceExtensionType
-
addNewAnyAttribute
public Wildcard addNewAnyAttribute()
Appends and returns a new empty "anyAttribute" element- Specified by:
addNewAnyAttributein interfaceExtensionType
-
unsetAnyAttribute
public void unsetAnyAttribute()
Unsets the "anyAttribute" element- Specified by:
unsetAnyAttributein interfaceExtensionType
-
getBase
public QName getBase()
Gets the "base" attribute- Specified by:
getBasein interfaceExtensionType
-
xgetBase
public XmlQName xgetBase()
Gets (as xml) the "base" attribute- Specified by:
xgetBasein interfaceExtensionType
-
setBase
public void setBase(QName base)
Sets the "base" attribute- Specified by:
setBasein interfaceExtensionType
-
xsetBase
public void xsetBase(XmlQName base)
Sets (as xml) the "base" attribute- Specified by:
xsetBasein interfaceExtensionType
-
-