Class AttributeImpl
- 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.AttributeImpl
-
- All Implemented Interfaces:
java.io.Serializable,TypeStoreUser,Annotated,Attribute,OpenAttrs,SimpleValue,XmlObject,XmlTokenSource
- Direct Known Subclasses:
TopLevelAttributeImpl
public class AttributeImpl extends AnnotatedImpl implements Attribute
An XML attribute(@http://www.w3.org/2001/XMLSchema). This is a complex type.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAttributeImpl.UseImplAn XML use(@).-
Nested classes/interfaces inherited from interface org.apache.xmlbeans.impl.xb.xsdschema.Annotated
Annotated.Factory
-
Nested classes/interfaces inherited from interface org.apache.xmlbeans.impl.xb.xsdschema.Attribute
Attribute.Factory, Attribute.Use
-
Nested classes/interfaces inherited from interface org.apache.xmlbeans.impl.xb.xsdschema.OpenAttrs
OpenAttrs.Factory
-
Nested classes/interfaces inherited from interface org.apache.xmlbeans.XmlObject
XmlObject.Factory
-
-
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
-
-
Constructor Summary
Constructors Constructor Description AttributeImpl(SchemaType sType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocalSimpleTypeaddNewSimpleType()Appends and returns a new empty "simpleType" elementjava.lang.StringgetDefault()Gets the "default" attributejava.lang.StringgetFixed()Gets the "fixed" attributeFormChoice.EnumgetForm()Gets the "form" attributejava.lang.StringgetName()Gets the "name" attributejavax.xml.namespace.QNamegetRef()Gets the "ref" attributeLocalSimpleTypegetSimpleType()Gets the "simpleType" elementjavax.xml.namespace.QNamegetType()Gets the "type" attributeAttribute.Use.EnumgetUse()Gets the "use" attributebooleanisSetDefault()True if has "default" attributebooleanisSetFixed()True if has "fixed" attributebooleanisSetForm()True if has "form" attributebooleanisSetName()True if has "name" attributebooleanisSetRef()True if has "ref" attributebooleanisSetSimpleType()True if has "simpleType" elementbooleanisSetType()True if has "type" attributebooleanisSetUse()True if has "use" attributevoidsetDefault(java.lang.String xdefault)Sets the "default" attributevoidsetFixed(java.lang.String fixed)Sets the "fixed" attributevoidsetForm(FormChoice.Enum form)Sets the "form" attributevoidsetName(java.lang.String name)Sets the "name" attributevoidsetRef(javax.xml.namespace.QName ref)Sets the "ref" attributevoidsetSimpleType(LocalSimpleType simpleType)Sets the "simpleType" elementvoidsetType(javax.xml.namespace.QName type)Sets the "type" attributevoidsetUse(Attribute.Use.Enum use)Sets the "use" attributevoidunsetDefault()Unsets the "default" attributevoidunsetFixed()Unsets the "fixed" attributevoidunsetForm()Unsets the "form" attributevoidunsetName()Unsets the "name" attributevoidunsetRef()Unsets the "ref" attributevoidunsetSimpleType()Unsets the "simpleType" elementvoidunsetType()Unsets the "type" attributevoidunsetUse()Unsets the "use" attributeXmlStringxgetDefault()Gets (as xml) the "default" attributeXmlStringxgetFixed()Gets (as xml) the "fixed" attributeFormChoicexgetForm()Gets (as xml) the "form" attributeXmlNCNamexgetName()Gets (as xml) the "name" attributeXmlQNamexgetRef()Gets (as xml) the "ref" attributeXmlQNamexgetType()Gets (as xml) the "type" attributeAttribute.UsexgetUse()Gets (as xml) the "use" attributevoidxsetDefault(XmlString xdefault)Sets (as xml) the "default" attributevoidxsetFixed(XmlString fixed)Sets (as xml) the "fixed" attributevoidxsetForm(FormChoice form)Sets (as xml) the "form" attributevoidxsetName(XmlNCName name)Sets (as xml) the "name" attributevoidxsetRef(XmlQName ref)Sets (as xml) the "ref" attributevoidxsetType(XmlQName type)Sets (as xml) the "type" attributevoidxsetUse(Attribute.Use use)Sets (as xml) the "use" 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
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_text
-
Methods inherited from class org.apache.xmlbeans.impl.values.XmlObjectBase
_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_element_ending_delimiters, get_element_type, get_schema_type, get_store, get_wscanon_text, getBigDecimalValue, getBigIntegerValue, getBooleanValue, getByteArrayValue, getByteValue, getCalendarValue, getDateValue, getDomNode, getDoubleValue, getEnumValue, getFloatValue, getGDateValue, getGDurationValue, getIntValue, getListValue, getLongValue, getObjectValue, getQNameValue, getShortValue, getStringValue, getXmlLocale, hashCode, init_flags, instanceType, intValue, invalidate_element_order, invalidate_nilvalue, invalidate_value, isDefault, isDefaultable, isFixed, isImmutable, isInstanceOf, isNil, isNillable, listValue, longValue, monitor, 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, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set_newValue, 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, validate, validate_now, valueEquals, valueHashCode, writeReplace, xgetListValue, xlistValue, xmlText, xmlText
-
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, newXMLInputStream, newXMLInputStream, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, xmlText, xmlText
-
-
-
-
Constructor Detail
-
AttributeImpl
public AttributeImpl(SchemaType sType)
-
-
Method Detail
-
getSimpleType
public LocalSimpleType getSimpleType()
Gets the "simpleType" element- Specified by:
getSimpleTypein interfaceAttribute
-
isSetSimpleType
public boolean isSetSimpleType()
True if has "simpleType" element- Specified by:
isSetSimpleTypein interfaceAttribute
-
setSimpleType
public void setSimpleType(LocalSimpleType simpleType)
Sets the "simpleType" element- Specified by:
setSimpleTypein interfaceAttribute
-
addNewSimpleType
public LocalSimpleType addNewSimpleType()
Appends and returns a new empty "simpleType" element- Specified by:
addNewSimpleTypein interfaceAttribute
-
unsetSimpleType
public void unsetSimpleType()
Unsets the "simpleType" element- Specified by:
unsetSimpleTypein interfaceAttribute
-
getName
public java.lang.String getName()
Gets the "name" attribute
-
xgetName
public XmlNCName xgetName()
Gets (as xml) the "name" attribute
-
isSetName
public boolean isSetName()
True if has "name" attribute
-
setName
public void setName(java.lang.String name)
Sets the "name" attribute
-
xsetName
public void xsetName(XmlNCName name)
Sets (as xml) the "name" attribute
-
unsetName
public void unsetName()
Unsets the "name" attribute
-
getRef
public javax.xml.namespace.QName getRef()
Gets the "ref" attribute
-
xgetRef
public XmlQName xgetRef()
Gets (as xml) the "ref" attribute
-
isSetRef
public boolean isSetRef()
True if has "ref" attribute
-
setRef
public void setRef(javax.xml.namespace.QName ref)
Sets the "ref" attribute
-
xsetRef
public void xsetRef(XmlQName ref)
Sets (as xml) the "ref" attribute
-
unsetRef
public void unsetRef()
Unsets the "ref" attribute
-
getType
public javax.xml.namespace.QName getType()
Gets the "type" attribute
-
xgetType
public XmlQName xgetType()
Gets (as xml) the "type" attribute
-
isSetType
public boolean isSetType()
True if has "type" attribute
-
setType
public void setType(javax.xml.namespace.QName type)
Sets the "type" attribute
-
xsetType
public void xsetType(XmlQName type)
Sets (as xml) the "type" attribute
-
unsetType
public void unsetType()
Unsets the "type" attribute
-
getUse
public Attribute.Use.Enum getUse()
Gets the "use" attribute
-
xgetUse
public Attribute.Use xgetUse()
Gets (as xml) the "use" attribute
-
isSetUse
public boolean isSetUse()
True if has "use" attribute
-
setUse
public void setUse(Attribute.Use.Enum use)
Sets the "use" attribute
-
xsetUse
public void xsetUse(Attribute.Use use)
Sets (as xml) the "use" attribute
-
unsetUse
public void unsetUse()
Unsets the "use" attribute
-
getDefault
public java.lang.String getDefault()
Gets the "default" attribute- Specified by:
getDefaultin interfaceAttribute
-
xgetDefault
public XmlString xgetDefault()
Gets (as xml) the "default" attribute- Specified by:
xgetDefaultin interfaceAttribute
-
isSetDefault
public boolean isSetDefault()
True if has "default" attribute- Specified by:
isSetDefaultin interfaceAttribute
-
setDefault
public void setDefault(java.lang.String xdefault)
Sets the "default" attribute- Specified by:
setDefaultin interfaceAttribute
-
xsetDefault
public void xsetDefault(XmlString xdefault)
Sets (as xml) the "default" attribute- Specified by:
xsetDefaultin interfaceAttribute
-
unsetDefault
public void unsetDefault()
Unsets the "default" attribute- Specified by:
unsetDefaultin interfaceAttribute
-
getFixed
public java.lang.String getFixed()
Gets the "fixed" attribute
-
xgetFixed
public XmlString xgetFixed()
Gets (as xml) the "fixed" attribute
-
isSetFixed
public boolean isSetFixed()
True if has "fixed" attribute- Specified by:
isSetFixedin interfaceAttribute
-
setFixed
public void setFixed(java.lang.String fixed)
Sets the "fixed" attribute
-
xsetFixed
public void xsetFixed(XmlString fixed)
Sets (as xml) the "fixed" attribute
-
unsetFixed
public void unsetFixed()
Unsets the "fixed" attribute- Specified by:
unsetFixedin interfaceAttribute
-
getForm
public FormChoice.Enum getForm()
Gets the "form" attribute
-
xgetForm
public FormChoice xgetForm()
Gets (as xml) the "form" attribute
-
isSetForm
public boolean isSetForm()
True if has "form" attribute
-
setForm
public void setForm(FormChoice.Enum form)
Sets the "form" attribute
-
xsetForm
public void xsetForm(FormChoice form)
Sets (as xml) the "form" attribute
-
-