org.jbind.xml.core.type
Interface ISimpleType

All Superinterfaces:
IAnyType, IComponent, IHasBindingAttributes, IHasLocation, ISourceInfo
All Known Subinterfaces:
IAnySimpleType, IAtomicType, IComplexSCType, IListType, IRestrictedSimpleType, IUnionType
All Known Implementing Classes:
AbstractListType, BuiltInAtomicType, BuiltInSimpleType, ComplexTypeSC, RestrictedAtomicType, RestrictedListType, RestrictedSimpleType, RestrictedUnionType, SimpleType, UnionType

public interface ISimpleType
extends IAnyType


Method Summary
 ISimpleType createRestriction(ISourceInfo aSourceInfo, java.lang.String aNamespace, java.lang.String aName, java.lang.String aRole, java.util.Set aFinalTypes, IConstraintViolations aViolations)
          Creates a simple type that is a restriction of this type.
 boolean isApplicable(ConstraintType aConstraintType)
          Checks if the specified constraint type is applicable to the type.
 
Methods inherited from interface org.jbind.xml.core.type.IAnyType
addDirectSubtype, canBeOverloadedBy, checkConstraints, checkEnclosedConstraints, createData, createEmptyData, createUncheckedData, getAttrDesc, getAttributesModel, getBaseType, getConstraints, getContentModel, getDataCreator, getDirectSubtypes, getElemDesc, getInstanceType, getRoleName, getSimpleContentType, getSimpleStorageType, getSubtypes, getXPathMethods, isAbstract, isActive, isActive, isBaseType, isComplex, isExtension, isExtension, isInstanceType, isRestriction, isSimple, setBaseType, setConstraints, setDataCreator
 
Methods inherited from interface org.jbind.xml.core.cmp.IComponent
accept, 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
 

Method Detail

createRestriction

public ISimpleType createRestriction(ISourceInfo aSourceInfo,
                                     java.lang.String aNamespace,
                                     java.lang.String aName,
                                     java.lang.String aRole,
                                     java.util.Set aFinalTypes,
                                     IConstraintViolations aViolations)
Creates a simple type that is a restriction of this type.

Returns:
(required).

isApplicable

public boolean isApplicable(ConstraintType aConstraintType)
Checks if the specified constraint type is applicable to the type.

Parameters:
aConstraintType - (required).
Returns:
Returns true iff the constraint type is applicable on the type.