org.jbind.xml.schema.element
Class PartDeclaration
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
org.jbind.xml.schema.element.Declaration
org.jbind.xml.schema.element.PartDeclaration
- All Implemented Interfaces:
- IAnnotated, IComponentJobHelper, IDeclaration, IElement, IHasBindingAttributes, IHasLocation, IJobHelper, INamed, INode, IOpenAttributes, IParent, IPartDeclaration, ISchemaDataAdder, ISourceInfo, ITopLevelElement, ITopLevelJobHelper, IXmlElement, IXmlNode
- Direct Known Subclasses:
- AttributeDeclaration, ElementDeclaration
- public abstract class PartDeclaration
- extends Declaration
- implements IPartDeclaration
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 |
PartDeclaration
public PartDeclaration(CreationParams aCreationParams,
boolean anIsLocal)
getIsLocal
protected boolean getIsLocal()
getFormType
public FormType getFormType()
- Specified by:
getFormType
in interface IPartDeclaration
getType
public IRef getType()
- Specified by:
getType
in interface IPartDeclaration
getDefault
public java.lang.String getDefault()
- Specified by:
getDefault
in interface IPartDeclaration
getFixed
public java.lang.String getFixed()
- Specified by:
getFixed
in interface IPartDeclaration
getRef
public IRef getRef()
- Specified by:
getRef
in interface IPartDeclaration
doCreateAttribute
protected IAttribute doCreateAttribute(ACParams anACParams)
throws XmlException
- Description copied from class:
Element
- Hook method to create an attribute.
- Overrides:
doCreateAttribute
in class Named
- Throws:
XmlException
validateElement
public void validateElement(IElemValHelper aHelper,
IConstraintViolations aViolations)
- Specified by:
validateElement
in interface IElement
- Overrides:
validateElement
in class Named
addSchemaData
public void addSchemaData(IComponentStore aComponentStore,
IComponent aComponent,
IConstraintViolations aViolations)
- Description copied from interface:
ISchemaDataAdder
- Adds data from the schema to the specified component. Schema data are
default and fixed values as well as facets.
- Specified by:
addSchemaData
in interface ISchemaDataAdder
getBoundName
protected java.lang.String getBoundName()
completeComponent
public void completeComponent(IElementHelper anElementHelper,
IComponent aComponent,
IConstraintViolations aViolations)
- Specified by:
completeComponent
in interface IComponentJobHelper