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:
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 class
AttributeImpl.UseImpl
An 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 LocalSimpleType
addNewSimpleType()
Appends and returns a new empty "simpleType" elementString
getDefault()
Gets the "default" attributeString
getFixed()
Gets the "fixed" attributeFormChoice.Enum
getForm()
Gets the "form" attributeString
getName()
Gets the "name" attributeQName
getRef()
Gets the "ref" attributeLocalSimpleType
getSimpleType()
Gets the "simpleType" elementQName
getType()
Gets the "type" attributeAttribute.Use.Enum
getUse()
Gets the "use" attributeboolean
isSetDefault()
True if has "default" attributeboolean
isSetFixed()
True if has "fixed" attributeboolean
isSetForm()
True if has "form" attributeboolean
isSetName()
True if has "name" attributeboolean
isSetRef()
True if has "ref" attributeboolean
isSetSimpleType()
True if has "simpleType" elementboolean
isSetType()
True if has "type" attributeboolean
isSetUse()
True if has "use" attributevoid
setDefault(String xdefault)
Sets the "default" attributevoid
setFixed(String fixed)
Sets the "fixed" attributevoid
setForm(FormChoice.Enum form)
Sets the "form" attributevoid
setName(String name)
Sets the "name" attributevoid
setRef(QName ref)
Sets the "ref" attributevoid
setSimpleType(LocalSimpleType simpleType)
Sets the "simpleType" elementvoid
setType(QName type)
Sets the "type" attributevoid
setUse(Attribute.Use.Enum use)
Sets the "use" attributevoid
unsetDefault()
Unsets the "default" attributevoid
unsetFixed()
Unsets the "fixed" attributevoid
unsetForm()
Unsets the "form" attributevoid
unsetName()
Unsets the "name" attributevoid
unsetRef()
Unsets the "ref" attributevoid
unsetSimpleType()
Unsets the "simpleType" elementvoid
unsetType()
Unsets the "type" attributevoid
unsetUse()
Unsets the "use" attributeXmlString
xgetDefault()
Gets (as xml) the "default" attributeXmlString
xgetFixed()
Gets (as xml) the "fixed" attributeFormChoice
xgetForm()
Gets (as xml) the "form" attributeXmlNCName
xgetName()
Gets (as xml) the "name" attributeXmlQName
xgetRef()
Gets (as xml) the "ref" attributeXmlQName
xgetType()
Gets (as xml) the "type" attributeAttribute.Use
xgetUse()
Gets (as xml) the "use" attributevoid
xsetDefault(XmlString xdefault)
Sets (as xml) the "default" attributevoid
xsetFixed(XmlString fixed)
Sets (as xml) the "fixed" attributevoid
xsetForm(FormChoice form)
Sets (as xml) the "form" attributevoid
xsetName(XmlNCName name)
Sets (as xml) the "name" attributevoid
xsetRef(XmlQName ref)
Sets (as xml) the "ref" attributevoid
xsetType(XmlQName type)
Sets (as xml) the "type" attributevoid
xsetUse(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:
getSimpleType
in interfaceAttribute
-
isSetSimpleType
public boolean isSetSimpleType()
True if has "simpleType" element- Specified by:
isSetSimpleType
in interfaceAttribute
-
setSimpleType
public void setSimpleType(LocalSimpleType simpleType)
Sets the "simpleType" element- Specified by:
setSimpleType
in interfaceAttribute
-
addNewSimpleType
public LocalSimpleType addNewSimpleType()
Appends and returns a new empty "simpleType" element- Specified by:
addNewSimpleType
in interfaceAttribute
-
unsetSimpleType
public void unsetSimpleType()
Unsets the "simpleType" element- Specified by:
unsetSimpleType
in interfaceAttribute
-
getName
public 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(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
-
xgetRef
public XmlQName xgetRef()
Gets (as xml) the "ref" attribute
-
isSetRef
public boolean isSetRef()
True if has "ref" attribute
-
setRef
public void setRef(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 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(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 String getDefault()
Gets the "default" attribute- Specified by:
getDefault
in interfaceAttribute
-
xgetDefault
public XmlString xgetDefault()
Gets (as xml) the "default" attribute- Specified by:
xgetDefault
in interfaceAttribute
-
isSetDefault
public boolean isSetDefault()
True if has "default" attribute- Specified by:
isSetDefault
in interfaceAttribute
-
setDefault
public void setDefault(String xdefault)
Sets the "default" attribute- Specified by:
setDefault
in interfaceAttribute
-
xsetDefault
public void xsetDefault(XmlString xdefault)
Sets (as xml) the "default" attribute- Specified by:
xsetDefault
in interfaceAttribute
-
unsetDefault
public void unsetDefault()
Unsets the "default" attribute- Specified by:
unsetDefault
in interfaceAttribute
-
getFixed
public 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:
isSetFixed
in interfaceAttribute
-
setFixed
public void setFixed(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:
unsetFixed
in 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
-
-