org.jbind.xml.schema.element
Interface IElement

All Superinterfaces:
IHasBindingAttributes, IHasLocation, INode, IParent, ISourceInfo, IXmlElement, IXmlNode
All Known Subinterfaces:
IAdditionalSource, IAnnotated, IAnnotationElement, IAny, IAnyAttribute, IAnyElement, IAppInfoElement, IAttributeDeclaration, IAttributeGroupDeclaration, IAttributeGroupRef, IComplexContentModelDesc, IComplexDerivation, IComplexExtensionDerivation, IComplexRestrictionDerivation, IComplexTypeDef, IContentModelDesc, IDeclaration, IDerivation, IDocumentationElement, IElementDeclaration, IElementParticle, IFacet, IField, IGroupDeclaration, IIdentityConstraintElement, IImport, IInclude, IKeyConstraintElement, IKeyRefConstraintElement, IListVariety, IModelGroup, IModelGroupDeclaration, IModelGroupRef, INamed, INotation, IOpenAttributes, IPartDeclaration, IParticle, IRedefine, IRestrictionVariety, ISelector, ISimpleContentModelDesc, ISimpleDerivation, ISimpleExtensionContentModel, ISimpleExtensionDerivation, ISimpleRestrictionContentModel, ISimpleRestrictionDerivation, ISimpleTypeDef, ITypeDef, IUnionVariety, IUniqueConstraintElement, IVariety, IXPathComponent, IXPathConstraintElement
All Known Implementing Classes:
AbbreviatedContentModel, AdditionalSource, Annotated, AnnotationElement, Any, AnyAttribute, AnyElement, AppInfoElement, AttributeDeclaration, AttributeGroupDeclaration, AttributeGroupRef, ComplexContentModelDesc, ComplexDerivation, ComplexExtensionDerivation, ComplexRestrictionDerivation, ComplexTypeDef, ContentModelDesc, Declaration, Derivation, DocumentationElement, Element, ElementDeclaration, ElementKeyConstraintElement, ElementKeyRefConstraintElement, ElementUniqueConstraintElement, Facet, Field, GroupDeclaration, IdentityConstraintElement, Import, Include, ListVariety, ModelGroup, ModelGroupDeclaration, ModelGroupRef, Named, Notation, OpenAttributes, PartDeclaration, Particle, Redefine, RestrictionVariety, SchemaElement, Selector, SimpleContentModelDesc, SimpleDerivation, SimpleExtensionDerivation, SimpleRestrictionDerivation, SimpleTypeDef, TypeDef, TypeKeyConstraintElement, TypeKeyRefConstraintElement, TypeUniqueConstraintElement, UnionVariety, Variety, XPathComponent, XPathConstraintElement

public interface IElement
extends IParent, INode, IHasBindingAttributes, ISourceInfo, IXmlElement


Method Summary
 void addAttribute(ACParams anACParams)
           
 IElement createChild(CreationParams aCreationParams, IConstraintViolations aViolations)
           
 IQName getQName()
           
 ISchema getSchema()
           
 ISchemaDocument getSchemaDocument()
           
 IElement getSubElement(java.lang.Class aClass, java.lang.Object aMessage, IConstraintViolations aViolations)
           
 boolean isTopLevelComponent()
           
 java.util.Iterator iterChildrenByClass(java.lang.Class aClass)
           
 void validateElement(IElemValHelper aHelper, IConstraintViolations aViolations)
           
 
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
 

Method Detail

createChild

public IElement createChild(CreationParams aCreationParams,
                            IConstraintViolations aViolations)
                     throws XmlException
Returns:
(required).
Throws:
XmlException

addAttribute

public void addAttribute(ACParams anACParams)
                  throws XmlException
Throws:
XmlException

validateElement

public void validateElement(IElemValHelper aHelper,
                            IConstraintViolations aViolations)

getSubElement

public IElement getSubElement(java.lang.Class aClass,
                              java.lang.Object aMessage,
                              IConstraintViolations aViolations)

iterChildrenByClass

public java.util.Iterator iterChildrenByClass(java.lang.Class aClass)

getSchemaDocument

public ISchemaDocument getSchemaDocument()

getSchema

public ISchema getSchema()

isTopLevelComponent

public boolean isTopLevelComponent()
Specified by:
isTopLevelComponent in interface ISourceInfo

getQName

public IQName getQName()
Specified by:
getQName in interface IXmlElement