|
||||||||||
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.ComplexType
Constructor Summary | |
ComplexType(ISourceInfo aSourceInfo,
java.lang.String aNamespace,
java.lang.String aName,
java.lang.String aRole,
java.util.Set aFinalTypes,
java.util.Set aBlockTypes,
boolean anIsAbstract,
boolean anIsExtension)
|
Method Summary | |
void |
accept(IComponentVisitor aVisitor)
Accepts a visitor. |
IXPathMethod |
addXPathMethod(IXPathMethod anXPathMethod)
|
void |
addXPathMethods(java.util.Map aMap)
|
void |
checkEnclosedConstraints(ICheckContext aContext)
Checks the enclosed constraints. |
IAttributeImpl |
createDefaultAttr(IElementImpl anElement,
IRef aRef)
Creates an attribute implementation for a default attribute. |
IAnyType |
getInstanceType()
Gets the type that instances of this type have. |
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 |
isExtension()
Checks if the type was derived by extension from its direct base type. |
protected boolean |
isUnion()
|
java.util.Iterator |
iterDefaultAttrRefs()
Iterates the references of the attributes with default values. |
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.type.IAnyType |
addDirectSubtype, canBeOverloadedBy, checkConstraints, createData, createEmptyData, createUncheckedData, getAttrDesc, getAttributesModel, getBaseType, getConstraints, getContentModel, getDataCreator, getDirectSubtypes, getElemDesc, getRoleName, getSimpleContentType, getSubtypes, isAbstract, isActive, isActive, isBaseType, isComplex, isExtension, isInstanceType, isRestriction, isSimple, setBaseType, setConstraints, setDataCreator |
Methods inherited from interface org.jbind.xml.core.cmp.IComponent |
addSubComponent, getBindings, getGlobalRef, getName, getNamespace, getParentComponent, getSymbolspace, isAnonymous, isReference, isTopLevelComponent, setBindings, setParentComponent, validate |
Methods inherited from interface org.jbind.xml.core.cmp.ISourceInfo |
getAnnotation, getPrefixToNamespaceMapping |
Methods inherited from interface org.jbind.xml.base.IHasLocation |
getLocation |
Methods inherited from interface org.jbind.xml.base.IHasBindingAttributes |
getBindingAttribute, getDefaultedLocalBindingAttribute, getDefaultedLocalStringBindingAttribute, getLocalBindingAttribute, getLocalStringBindingAttribute, getStringBindingAttribute |
Constructor Detail |
public ComplexType(ISourceInfo aSourceInfo, java.lang.String aNamespace, java.lang.String aName, java.lang.String aRole, java.util.Set aFinalTypes, java.util.Set aBlockTypes, boolean anIsAbstract, boolean anIsExtension)
Method Detail |
public boolean isExtension()
IAnyType
isExtension
in interface IAnyType
true
iff the type was derived by extension from
its base type.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).protected boolean isUnion()
isUnion
in class AbstractType
public final java.lang.Class getSimpleStorageType()
IAnyType
null
.
getSimpleStorageType
in interface IAnyType
public IAttributeImpl createDefaultAttr(IElementImpl anElement, IRef aRef)
IDefaultAttrCreator
createDefaultAttr
in interface IDefaultAttrCreator
anElement
- (required). The element that has the default attribute.aRef
- (required).
public java.util.Iterator iterDefaultAttrRefs()
IDefaultAttrCreator
iterDefaultAttrRefs
in interface IDefaultAttrCreator
IRef
.public IAnyType getInstanceType()
IAnyType
getInstanceType
in interface IAnyType
public java.util.Map getXPathMethods()
IAnyType
getXPathMethods
in interface IAnyType
#IXPathMethod
s.public void addXPathMethods(java.util.Map aMap)
public IXPathMethod addXPathMethod(IXPathMethod anXPathMethod)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |