Interface Attribute
-
- All Superinterfaces:
Annotated
,OpenAttrs
,XmlObject
,XmlTokenSource
- All Known Subinterfaces:
TopLevelAttribute
- All Known Implementing Classes:
AttributeImpl
,TopLevelAttributeImpl
public interface Attribute extends Annotated
An XML attribute(@http://www.w3.org/2001/XMLSchema). This is a complex type.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Attribute.Factory
A factory class with static methods for creating instances of this type.static interface
Attribute.Use
An XML use(@).
-
Field Summary
Fields Modifier and Type Field Description static SchemaType
type
-
Fields inherited from interface org.apache.xmlbeans.XmlObject
EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LocalSimpleType
addNewSimpleType()
Appends and returns a new empty "simpleType" elementjava.lang.String
getDefault()
Gets the "default" attributejava.lang.String
getFixed()
Gets the "fixed" attributeFormChoice.Enum
getForm()
Gets the "form" attributejava.lang.String
getName()
Gets the "name" attributejavax.xml.namespace.QName
getRef()
Gets the "ref" attributeLocalSimpleType
getSimpleType()
Gets the "simpleType" elementjavax.xml.namespace.QName
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(java.lang.String xdefault)
Sets the "default" attributevoid
setFixed(java.lang.String fixed)
Sets the "fixed" attributevoid
setForm(FormChoice.Enum form)
Sets the "form" attributevoid
setName(java.lang.String name)
Sets the "name" attributevoid
setRef(javax.xml.namespace.QName ref)
Sets the "ref" attributevoid
setSimpleType(LocalSimpleType simpleType)
Sets the "simpleType" elementvoid
setType(javax.xml.namespace.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 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
-
-
-
-
Field Detail
-
type
static final SchemaType type
-
-
Method Detail
-
getSimpleType
LocalSimpleType getSimpleType()
Gets the "simpleType" element
-
isSetSimpleType
boolean isSetSimpleType()
True if has "simpleType" element
-
setSimpleType
void setSimpleType(LocalSimpleType simpleType)
Sets the "simpleType" element
-
addNewSimpleType
LocalSimpleType addNewSimpleType()
Appends and returns a new empty "simpleType" element
-
unsetSimpleType
void unsetSimpleType()
Unsets the "simpleType" element
-
getName
java.lang.String getName()
Gets the "name" attribute
-
xgetName
XmlNCName xgetName()
Gets (as xml) the "name" attribute
-
isSetName
boolean isSetName()
True if has "name" attribute
-
setName
void setName(java.lang.String name)
Sets the "name" attribute
-
xsetName
void xsetName(XmlNCName name)
Sets (as xml) the "name" attribute
-
unsetName
void unsetName()
Unsets the "name" attribute
-
getRef
javax.xml.namespace.QName getRef()
Gets the "ref" attribute
-
xgetRef
XmlQName xgetRef()
Gets (as xml) the "ref" attribute
-
isSetRef
boolean isSetRef()
True if has "ref" attribute
-
setRef
void setRef(javax.xml.namespace.QName ref)
Sets the "ref" attribute
-
xsetRef
void xsetRef(XmlQName ref)
Sets (as xml) the "ref" attribute
-
unsetRef
void unsetRef()
Unsets the "ref" attribute
-
getType
javax.xml.namespace.QName getType()
Gets the "type" attribute
-
xgetType
XmlQName xgetType()
Gets (as xml) the "type" attribute
-
isSetType
boolean isSetType()
True if has "type" attribute
-
setType
void setType(javax.xml.namespace.QName type)
Sets the "type" attribute
-
xsetType
void xsetType(XmlQName type)
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
void setUse(Attribute.Use.Enum use)
Sets the "use" attribute
-
xsetUse
void xsetUse(Attribute.Use use)
Sets (as xml) the "use" attribute
-
unsetUse
void unsetUse()
Unsets the "use" attribute
-
getDefault
java.lang.String getDefault()
Gets the "default" attribute
-
xgetDefault
XmlString xgetDefault()
Gets (as xml) the "default" attribute
-
isSetDefault
boolean isSetDefault()
True if has "default" attribute
-
setDefault
void setDefault(java.lang.String xdefault)
Sets the "default" attribute
-
xsetDefault
void xsetDefault(XmlString xdefault)
Sets (as xml) the "default" attribute
-
unsetDefault
void unsetDefault()
Unsets the "default" attribute
-
getFixed
java.lang.String getFixed()
Gets the "fixed" attribute
-
xgetFixed
XmlString xgetFixed()
Gets (as xml) the "fixed" attribute
-
isSetFixed
boolean isSetFixed()
True if has "fixed" attribute
-
setFixed
void setFixed(java.lang.String fixed)
Sets the "fixed" attribute
-
xsetFixed
void xsetFixed(XmlString fixed)
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
void setForm(FormChoice.Enum form)
Sets the "form" attribute
-
xsetForm
void xsetForm(FormChoice form)
Sets (as xml) the "form" attribute
-
unsetForm
void unsetForm()
Unsets the "form" attribute
-
-