|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jbind.xml.schema.cmp.Component org.jbind.xml.schema.cmp.AbstractType org.jbind.xml.schema.cmp.AnyType
Constructor Summary | |
AnyType(ISourceInfo aSourceInfo,
IDataCreator aDataCreator)
|
Method Summary | |
void |
accept(IComponentVisitor aVisitor)
Accepts a visitor. |
void |
checkEnclosedConstraints(ICheckContext aContext)
Checks the enclosed constraints. |
IAnyType |
getInstanceType()
Gets the type that instances of this type have. |
ILocation |
getLocation()
|
ISimpleType |
getSimpleContentType()
Gets the type of the simple content. |
java.lang.Class |
getSimpleStorageType()
Gets the simple storage type. |
java.util.Map |
getXPathMethods()
Gets the map of XPath methods that are available for this type. |
boolean |
isComplex()
Checks if the type is a complex type. |
boolean |
isExtension()
Checks if the type was derived by extension from its direct base type. |
boolean |
isSimple()
Checks if the type is a simple type. |
protected boolean |
isUnion()
|
Methods inherited from class org.jbind.xml.schema.cmp.AbstractType |
addDirectSubtype, addFinalType, canBeOverloadedBy, checkConstraints, createData, createEmptyData, createUncheckedData, doCreateEmptyData, getAttrDesc, getAttributesModel, getBaseType, getConstraints, getContentModel, getDataCreator, getDirectSubtypes, getElemDesc, getRoleName, getSubtypes, getSymbolspace, isAbstract, isActive, isActive, isBaseType, isExtension, isInstanceType, isReference, isRestriction, setAttributesModel, setBaseType, setConstraints, setContentModel, setDataCreator, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jbind.xml.core.cmp.IComponent |
addSubComponent, getBindings, getGlobalRef, getName, getNamespace, getParentComponent, isAnonymous, isTopLevelComponent, setBindings, setParentComponent |
Methods inherited from interface org.jbind.xml.core.cmp.ISourceInfo |
getAnnotation, getPrefixToNamespaceMapping |
Methods inherited from interface org.jbind.xml.base.IHasBindingAttributes |
getBindingAttribute, getDefaultedLocalBindingAttribute, getDefaultedLocalStringBindingAttribute, getLocalBindingAttribute, getLocalStringBindingAttribute, getStringBindingAttribute |
Constructor Detail |
public AnyType(ISourceInfo aSourceInfo, IDataCreator aDataCreator)
Method Detail |
public boolean isSimple()
IAnyType
true
.
isSimple
in interface IAnyType
true
iff the type is a simple type.public boolean isComplex()
IAnyType
true
.
isComplex
in interface IAnyType
true
iff the type is a complex type.public boolean isExtension()
IAnyType
isExtension
in interface IAnyType
true
iff the type was derived by extension from
its base type.public ISimpleType getSimpleContentType()
IAnyType
null
is returned.
getSimpleContentType
in interface IAnyType
public void accept(IComponentVisitor aVisitor) throws XmlException
IComponent
visitComplexTypeStart
and visitComplexTypeEnd
).
accept
in interface IComponent
aVisitor
- (required).
XmlException
public void checkEnclosedConstraints(ICheckContext aContext)
IAnyType
checkEnclosedConstraints
in interface IAnyType
aContext
- (required).public ILocation getLocation()
getLocation
in interface IHasLocation
getLocation
in class Component
public java.lang.Class getSimpleStorageType()
IAnyType
null
.
getSimpleStorageType
in interface IAnyType
public final IAnyType getInstanceType()
IAnyType
getInstanceType
in interface IAnyType
public java.util.Map getXPathMethods()
IAnyType
getXPathMethods
in interface IAnyType
#IXPathMethod
s.protected boolean isUnion()
isUnion
in class AbstractType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |