Interface SimpleType
-
- All Superinterfaces:
Annotated,OpenAttrs,XmlObject,XmlTokenSource
- All Known Subinterfaces:
LocalSimpleType,TopLevelSimpleType
- All Known Implementing Classes:
LocalSimpleTypeImpl,SimpleTypeImpl,TopLevelSimpleTypeImpl
public interface SimpleType extends Annotated
An XML simpleType(@http://www.w3.org/2001/XMLSchema). This is a complex type.
-
-
Field Summary
Fields Modifier and Type Field Description static AbstractDocumentFactory<SimpleType>Factorystatic SchemaTypetype-
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 ListDocument.ListaddNewList()Appends and returns a new empty "list" elementRestrictionDocument.RestrictionaddNewRestriction()Appends and returns a new empty "restriction" elementUnionDocument.UnionaddNewUnion()Appends and returns a new empty "union" elementjava.lang.ObjectgetFinal()Gets the "final" attributeListDocument.ListgetList()Gets the "list" elementjava.lang.StringgetName()Gets the "name" attributeRestrictionDocument.RestrictiongetRestriction()Gets the "restriction" elementUnionDocument.UniongetUnion()Gets the "union" elementbooleanisSetFinal()True if has "final" attributebooleanisSetList()True if has "list" elementbooleanisSetName()True if has "name" attributebooleanisSetRestriction()True if has "restriction" elementbooleanisSetUnion()True if has "union" elementvoidsetFinal(java.lang.Object xfinal)Sets the "final" attributevoidsetList(ListDocument.List list)Sets the "list" elementvoidsetName(java.lang.String name)Sets the "name" attributevoidsetRestriction(RestrictionDocument.Restriction restriction)Sets the "restriction" elementvoidsetUnion(UnionDocument.Union union)Sets the "union" elementvoidunsetFinal()Unsets the "final" attributevoidunsetList()Unsets the "list" elementvoidunsetName()Unsets the "name" attributevoidunsetRestriction()Unsets the "restriction" elementvoidunsetUnion()Unsets the "union" elementSimpleDerivationSetxgetFinal()Gets (as xml) the "final" attributeXmlNCNamexgetName()Gets (as xml) the "name" attributevoidxsetFinal(SimpleDerivationSet xfinal)Sets (as xml) the "final" attributevoidxsetName(XmlNCName name)Sets (as xml) the "name" 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, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, xmlText, xmlText
-
-
-
-
Field Detail
-
Factory
static final AbstractDocumentFactory<SimpleType> Factory
-
type
static final SchemaType type
-
-
Method Detail
-
getRestriction
RestrictionDocument.Restriction getRestriction()
Gets the "restriction" element
-
isSetRestriction
boolean isSetRestriction()
True if has "restriction" element
-
setRestriction
void setRestriction(RestrictionDocument.Restriction restriction)
Sets the "restriction" element
-
addNewRestriction
RestrictionDocument.Restriction addNewRestriction()
Appends and returns a new empty "restriction" element
-
unsetRestriction
void unsetRestriction()
Unsets the "restriction" element
-
getList
ListDocument.List getList()
Gets the "list" element
-
isSetList
boolean isSetList()
True if has "list" element
-
setList
void setList(ListDocument.List list)
Sets the "list" element
-
addNewList
ListDocument.List addNewList()
Appends and returns a new empty "list" element
-
unsetList
void unsetList()
Unsets the "list" element
-
getUnion
UnionDocument.Union getUnion()
Gets the "union" element
-
isSetUnion
boolean isSetUnion()
True if has "union" element
-
setUnion
void setUnion(UnionDocument.Union union)
Sets the "union" element
-
addNewUnion
UnionDocument.Union addNewUnion()
Appends and returns a new empty "union" element
-
unsetUnion
void unsetUnion()
Unsets the "union" element
-
getFinal
java.lang.Object getFinal()
Gets the "final" attribute
-
xgetFinal
SimpleDerivationSet xgetFinal()
Gets (as xml) the "final" attribute
-
isSetFinal
boolean isSetFinal()
True if has "final" attribute
-
setFinal
void setFinal(java.lang.Object xfinal)
Sets the "final" attribute
-
xsetFinal
void xsetFinal(SimpleDerivationSet xfinal)
Sets (as xml) the "final" attribute
-
unsetFinal
void unsetFinal()
Unsets the "final" attribute
-
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
-
-