org.jbind.xml.schema.element
Class RestrictionVariety

java.lang.Object
  extended byorg.jbind.xml.schema.element.Parent
      extended byorg.jbind.xml.schema.element.Element
          extended byorg.jbind.xml.schema.element.OpenAttributes
              extended byorg.jbind.xml.schema.element.Annotated
                  extended byorg.jbind.xml.schema.element.SimpleRestriction
                      extended byorg.jbind.xml.schema.element.RestrictionVariety
All Implemented Interfaces:
IAnnotated, IElement, IHasBindingAttributes, IHasLocation, INode, IOpenAttributes, IParent, IRestrictionVariety, ISourceInfo, IVariety, IXmlElement, IXmlNode

public class RestrictionVariety
extends SimpleRestriction
implements IRestrictionVariety


Constructor Summary
RestrictionVariety(CreationParams aCreationParams)
           
 
Method Summary
 IRef getBaseRef()
           
protected  boolean referencedBaseTypeMustNotBeComplex()
           
 void validateElement(IElemValHelper aHelper, IConstraintViolations aViolations)
           
 
Methods inherited from class org.jbind.xml.schema.element.SimpleRestriction
addSchemaData, collectConstraints, collectRefsForCompletion, collectRefsForCreation, collectRefsForValidation, createComponent, doCreateAttribute, doCreateChild, getBaseAttribute, getSimpleTypeDef, iterFacets, setBaseAttribute
 
Methods inherited from class org.jbind.xml.schema.element.Annotated
getAnnotation, getAnnotationElement, getId, iterAppInfos
 
Methods inherited from class org.jbind.xml.schema.element.OpenAttributes
getAttributeString
 
Methods inherited from class org.jbind.xml.schema.element.Element
acceptAppInfoVisitor, addAttribute, createChild, createGlobalRef, getAttributes, getBindingAttribute, getBoolean, getChildByClass, getDefaultedLocalBindingAttribute, getDefaultedLocalStringBindingAttribute, getLocalBindingAttribute, getLocalName, getLocalStringBindingAttribute, getLocation, getNamespace, getNamespaceUri, getParent_, getParentHelper, getPrefix, getPrefixToNamespaceMapping, getQName, getSchema, getSchemaDocument, getSchemaElement, getStringBindingAttribute, getSubElement, getTargetNamespace, isTopLevelComponent, iterChildrenByClass, setLocation, setParent_, toString
 
Methods inherited from class org.jbind.xml.schema.element.Parent
addChild, hasChildren, iterChildren, iterXmlNodes, visitChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jbind.xml.schema.element.IRestrictionVariety
getBaseAttribute, getSimpleTypeDef, iterFacets, setBaseAttribute
 
Methods inherited from interface org.jbind.xml.schema.element.IVariety
addSchemaData, collectConstraints, collectRefsForCreation, createComponent
 
Methods inherited from interface org.jbind.xml.schema.element.IAnnotated
getAnnotationElement, getId
 
Methods inherited from interface org.jbind.xml.schema.element.IOpenAttributes
getAttributeString
 
Methods inherited from interface org.jbind.xml.schema.element.IElement
addAttribute, createChild, getQName, getSchema, getSchemaDocument, getSubElement, isTopLevelComponent, iterChildrenByClass
 
Methods inherited from interface org.jbind.xml.schema.element.IParent
addChild, hasChildren, iterChildren
 
Methods inherited from interface org.jbind.xml.schema.element.INode
getParent_, setLocation, setParent_
 
Methods inherited from interface org.jbind.xml.base.IHasLocation
getLocation
 
Methods inherited from interface org.jbind.xml.core.cmp.IXmlNode
acceptAppInfoVisitor
 
Methods inherited from interface org.jbind.xml.base.IHasBindingAttributes
getBindingAttribute, getDefaultedLocalBindingAttribute, getDefaultedLocalStringBindingAttribute, getLocalBindingAttribute, getLocalStringBindingAttribute, getStringBindingAttribute
 
Methods inherited from interface org.jbind.xml.core.cmp.ISourceInfo
getAnnotation, getPrefixToNamespaceMapping
 
Methods inherited from interface org.jbind.xml.core.cmp.IXmlElement
getAttributes, iterXmlNodes
 

Constructor Detail

RestrictionVariety

public RestrictionVariety(CreationParams aCreationParams)
Method Detail

validateElement

public void validateElement(IElemValHelper aHelper,
                            IConstraintViolations aViolations)
Specified by:
validateElement in interface IElement
Overrides:
validateElement in class SimpleRestriction

referencedBaseTypeMustNotBeComplex

protected boolean referencedBaseTypeMustNotBeComplex()
Specified by:
referencedBaseTypeMustNotBeComplex in class SimpleRestriction

getBaseRef

public IRef getBaseRef()
Specified by:
getBaseRef in interface IVariety