Interface SimpleType
- All Superinterfaces:
Annotated,OpenAttrs,XmlObject,XmlTokenSource
- All Known Subinterfaces:
LocalSimpleType,TopLevelSimpleType
- All Known Implementing Classes:
LocalSimpleTypeImpl,SimpleTypeImpl,TopLevelSimpleTypeImpl
An XML simpleType(@http://www.w3.org/2001/XMLSchema).
This is a complex type.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AbstractDocumentFactory<SimpleType> static final SchemaTypeFields inherited from interface org.apache.xmlbeans.XmlObject
EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL -
Method Summary
Modifier and TypeMethodDescriptionAppends and returns a new empty "list" elementAppends and returns a new empty "restriction" elementAppends and returns a new empty "union" elementgetFinal()Gets the "final" attributegetList()Gets the "list" elementgetName()Gets the "name" attributeGets the "restriction" elementgetUnion()Gets the "union" elementbooleanTrue if has "final" attributebooleanTrue if has "list" elementbooleanTrue if has "name" attributebooleanTrue if has "restriction" elementbooleanTrue if has "union" elementvoidSets the "final" attributevoidsetList(ListDocument.List list) Sets the "list" elementvoidSets the "name" attributevoidsetRestriction(RestrictionDocument.Restriction restriction) Sets the "restriction" elementvoidsetUnion(UnionDocument.Union union) Sets the "union" elementvoidUnsets the "final" attributevoidUnsets the "list" elementvoidUnsets the "name" attributevoidUnsets the "restriction" elementvoidUnsets the "union" elementGets (as xml) the "final" attributexgetName()Gets (as xml) the "name" attributevoidxsetFinal(SimpleDerivationSet xfinal) Sets (as xml) the "final" attributevoidSets (as xml) the "name" 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
-
getRestriction
RestrictionDocument.Restriction getRestriction()Gets the "restriction" element -
isSetRestriction
boolean isSetRestriction()True if has "restriction" element -
setRestriction
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
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
Sets the "union" element -
addNewUnion
UnionDocument.Union addNewUnion()Appends and returns a new empty "union" element -
unsetUnion
void unsetUnion()Unsets the "union" element -
getFinal
Object getFinal()Gets the "final" attribute -
xgetFinal
SimpleDerivationSet xgetFinal()Gets (as xml) the "final" attribute -
isSetFinal
boolean isSetFinal()True if has "final" attribute -
setFinal
Sets the "final" attribute -
xsetFinal
Sets (as xml) the "final" attribute -
unsetFinal
void unsetFinal()Unsets the "final" attribute -
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
-