org.jbind.xml.schema.element
Class Annotated
java.lang.Object
org.jbind.xml.schema.element.Parent
org.jbind.xml.schema.element.Element
org.jbind.xml.schema.element.OpenAttributes
org.jbind.xml.schema.element.Annotated
- All Implemented Interfaces:
- IAnnotated, IElement, IHasBindingAttributes, IHasLocation, INode, IOpenAttributes, IParent, ISourceInfo, IXmlElement, IXmlNode
- Direct Known Subclasses:
- AbbreviatedContentModel, AdditionalSource, Any, AttributeGroupRef, ContentModelDesc, Derivation, Facet, Named, Particle, SimpleRestriction, Variety, XPathComponent, XPathMethodElement
- public abstract class Annotated
- extends OpenAttributes
- implements IAnnotated
| 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Annotated
public Annotated(CreationParams aCreationParams)
getAnnotationElement
public IAnnotationElement getAnnotationElement()
- Specified by:
getAnnotationElement in interface IAnnotated
getId
public java.lang.String getId()
- Specified by:
getId in interface IAnnotated
doCreateAttribute
protected IAttribute doCreateAttribute(ACParams anACParams)
throws XmlException
- Description copied from class:
Element
- Hook method to create an attribute.
- Overrides:
doCreateAttribute in class OpenAttributes
- Throws:
XmlException
doCreateChild
protected IElement doCreateChild(CreationParams aCreationParams)
throws XmlException
- Description copied from class:
Element
- Hook method to create a child element.
- Overrides:
doCreateChild in class Element
- Parameters:
aCreationParams - (required).
- Returns:
- (optional). The created element.
- Throws:
XmlException - Raised if the creation was not successful.
validateElement
public void validateElement(IElemValHelper aHelper,
IConstraintViolations aViolations)
- Specified by:
validateElement in interface IElement- Overrides:
validateElement in class Element
iterAppInfos
protected java.util.Iterator iterAppInfos()
getAnnotation
public IAnnotation getAnnotation()
- Specified by:
getAnnotation in interface ISourceInfo- Overrides:
getAnnotation in class Element