org.jbind.xml.schema.element
Class Named
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
org.jbind.xml.schema.element.Named
- All Implemented Interfaces:
- IAnnotated, IComponentJobHelper, IElement, IHasBindingAttributes, IHasLocation, IJobHelper, INamed, INode, IOpenAttributes, IParent, ISchemaDataAdder, ISourceInfo, ITopLevelJobHelper, IXmlElement, IXmlNode
- Direct Known Subclasses:
- Declaration, IdentityConstraintElement, Notation, TypeDef
- public abstract class Named
- extends Annotated
- implements INamed
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_ |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Named
public Named(CreationParams aCreationParams)
doCreateAttribute
protected IAttribute doCreateAttribute(ACParams anACParams)
throws XmlException
- Description copied from class:
Element
- Hook method to create an attribute.
- Overrides:
doCreateAttribute
in class Annotated
- Throws:
XmlException
validateElement
public void validateElement(IElemValHelper aHelper,
IConstraintViolations aViolations)
- Specified by:
validateElement
in interface IElement
- Overrides:
validateElement
in class Annotated
getName
public java.lang.String getName()
- Specified by:
getName
in interface INamed
setName
public void setName(java.lang.String aName)
getGlobalRef
public IRef getGlobalRef()
- Specified by:
getGlobalRef
in interface INamed
createAndAddJob
public void createAndAddJob(IHasTopLevelJobs aSchemaJob)
- Description copied from interface:
ITopLevelJobHelper
- Creates a job for this helper and adds it to the schema job. This method
is used by a schema element when it creates the sub jobs of a schema job.
- Specified by:
createAndAddJob
in interface ITopLevelJobHelper
- Returns:
- (required).
toString
public java.lang.String toString()
- Overrides:
toString
in class Element