Interface Attribute
- All Superinterfaces:
Annotated,OpenAttrs,XmlObject,XmlTokenSource
- All Known Subinterfaces:
TopLevelAttribute
- All Known Implementing Classes:
AttributeImpl,TopLevelAttributeImpl
An XML attribute(@http://www.w3.org/2001/XMLSchema).
This is a complex type.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from interface org.apache.xmlbeans.XmlObject
EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL -
Method Summary
Modifier and TypeMethodDescriptionAppends and returns a new empty "simpleType" elementGets the "default" attributegetFixed()Gets the "fixed" attributegetForm()Gets the "form" attributegetName()Gets the "name" attributegetRef()Gets the "ref" attributeGets the "simpleType" elementgetType()Gets the "type" attributegetUse()Gets the "use" attributebooleanTrue if has "default" attributebooleanTrue if has "fixed" attributebooleanTrue if has "form" attributebooleanTrue if has "name" attributebooleanisSetRef()True if has "ref" attributebooleanTrue if has "simpleType" elementbooleanTrue if has "type" attributebooleanisSetUse()True if has "use" attributevoidsetDefault(String xdefault) Sets the "default" attributevoidSets the "fixed" attributevoidsetForm(FormChoice.Enum form) Sets the "form" attributevoidSets the "name" attributevoidSets the "ref" attributevoidsetSimpleType(LocalSimpleType simpleType) Sets the "simpleType" elementvoidSets the "type" attributevoidsetUse(Attribute.Use.Enum use) Sets the "use" attributevoidUnsets the "default" attributevoidUnsets the "fixed" attributevoidUnsets the "form" attributevoidUnsets the "name" attributevoidunsetRef()Unsets the "ref" attributevoidUnsets the "simpleType" elementvoidUnsets the "type" attributevoidunsetUse()Unsets the "use" attributeGets (as xml) the "default" attributeGets (as xml) the "fixed" attributexgetForm()Gets (as xml) the "form" attributexgetName()Gets (as xml) the "name" attributexgetRef()Gets (as xml) the "ref" attributexgetType()Gets (as xml) the "type" attributexgetUse()Gets (as xml) the "use" attributevoidxsetDefault(XmlString xdefault) Sets (as xml) the "default" attributevoidSets (as xml) the "fixed" attributevoidxsetForm(FormChoice form) Sets (as xml) the "form" attributevoidSets (as xml) the "name" attributevoidSets (as xml) the "ref" attributevoidSets (as xml) the "type" attributevoidxsetUse(Attribute.Use use) Sets (as xml) the "use" attributeMethods inherited from interface org.apache.xmlbeans.impl.xb.xsdschema.Annotated
addNewAnnotation, getAnnotation, getId, isSetAnnotation, isSetId, setAnnotation, setId, unsetAnnotation, unsetId, xgetId, xsetIdMethods 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, valueHashCodeMethods 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
-
Field Details
-
Factory
-
type
-
-
Method Details
-
getSimpleType
LocalSimpleType getSimpleType()Gets the "simpleType" element -
isSetSimpleType
boolean isSetSimpleType()True if has "simpleType" element -
setSimpleType
Sets the "simpleType" element -
addNewSimpleType
LocalSimpleType addNewSimpleType()Appends and returns a new empty "simpleType" element -
unsetSimpleType
void unsetSimpleType()Unsets the "simpleType" element -
getName
String getName()Gets the "name" attribute -
xgetName
XmlNCName xgetName()Gets (as xml) the "name" attribute -
isSetName
boolean isSetName()True if has "name" attribute -
setName
Sets the "name" attribute -
xsetName
Sets (as xml) the "name" attribute -
unsetName
void unsetName()Unsets the "name" attribute -
getRef
QName getRef()Gets the "ref" attribute -
xgetRef
XmlQName xgetRef()Gets (as xml) the "ref" attribute -
isSetRef
boolean isSetRef()True if has "ref" attribute -
setRef
Sets the "ref" attribute -
xsetRef
Sets (as xml) the "ref" attribute -
unsetRef
void unsetRef()Unsets the "ref" attribute -
getType
QName getType()Gets the "type" attribute -
xgetType
XmlQName xgetType()Gets (as xml) the "type" attribute -
isSetType
boolean isSetType()True if has "type" attribute -
setType
Sets the "type" attribute -
xsetType
Sets (as xml) the "type" attribute -
unsetType
void unsetType()Unsets the "type" attribute -
getUse
Attribute.Use.Enum getUse()Gets the "use" attribute -
xgetUse
Attribute.Use xgetUse()Gets (as xml) the "use" attribute -
isSetUse
boolean isSetUse()True if has "use" attribute -
setUse
Sets the "use" attribute -
xsetUse
Sets (as xml) the "use" attribute -
unsetUse
void unsetUse()Unsets the "use" attribute -
getDefault
String getDefault()Gets the "default" attribute -
xgetDefault
XmlString xgetDefault()Gets (as xml) the "default" attribute -
isSetDefault
boolean isSetDefault()True if has "default" attribute -
setDefault
Sets the "default" attribute -
xsetDefault
Sets (as xml) the "default" attribute -
unsetDefault
void unsetDefault()Unsets the "default" attribute -
getFixed
String getFixed()Gets the "fixed" attribute -
xgetFixed
XmlString xgetFixed()Gets (as xml) the "fixed" attribute -
isSetFixed
boolean isSetFixed()True if has "fixed" attribute -
setFixed
Sets the "fixed" attribute -
xsetFixed
Sets (as xml) the "fixed" attribute -
unsetFixed
void unsetFixed()Unsets the "fixed" attribute -
getForm
FormChoice.Enum getForm()Gets the "form" attribute -
xgetForm
FormChoice xgetForm()Gets (as xml) the "form" attribute -
isSetForm
boolean isSetForm()True if has "form" attribute -
setForm
Sets the "form" attribute -
xsetForm
Sets (as xml) the "form" attribute -
unsetForm
void unsetForm()Unsets the "form" attribute
-