|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jbind.xml.schema.element.Parent org.jbind.xml.schema.element.Element
Constructor Summary | |
Element(CreationParams aCreationParams)
|
Method Summary | |
void |
acceptAppInfoVisitor(IAppInfoVisitor aVisitor)
|
void |
addAttribute(ACParams anACParams)
|
IElement |
createChild(CreationParams aCreationParams,
IConstraintViolations aViolations)
|
protected IRef |
createGlobalRef(IQName aQName,
ISymbolspace aSymbolSpace)
|
protected IAttribute |
doCreateAttribute(ACParams anACParams)
Hook method to create an attribute. |
protected IElement |
doCreateChild(CreationParams aCreationParams)
Hook method to create a child element. |
IAnnotation |
getAnnotation()
|
IAttributes |
getAttributes()
|
IAttribute |
getBindingAttribute(java.lang.String aName)
Gets the specified binding attribute. |
protected java.lang.Boolean |
getBoolean(java.lang.String anAttributeName)
|
IElement |
getChildByClass(java.lang.Class aClass,
java.lang.Object aMessage,
IConstraintViolations aViolations)
|
IAttribute |
getDefaultedLocalBindingAttribute(java.lang.String aName)
Gets a local binding attribute. |
java.lang.String |
getDefaultedLocalStringBindingAttribute(java.lang.String aName)
Gets a string valued defaulted local binding attribute. |
IAttribute |
getLocalBindingAttribute(java.lang.String aName)
Gets a local binding attribute. |
java.lang.String |
getLocalName()
|
java.lang.String |
getLocalStringBindingAttribute(java.lang.String aName)
Gets a string valued local binding attribute. |
ILocation |
getLocation()
|
protected java.lang.String |
getNamespace(java.lang.String aPrefix)
|
java.lang.String |
getNamespaceUri()
|
IElement |
getParent_()
|
IComponentJobHelper |
getParentHelper()
|
java.lang.String |
getPrefix()
|
java.util.Map |
getPrefixToNamespaceMapping()
|
IQName |
getQName()
|
ISchema |
getSchema()
|
ISchemaDocument |
getSchemaDocument()
|
protected SchemaElement |
getSchemaElement()
|
java.lang.String |
getStringBindingAttribute(java.lang.String aName)
Gets a string valued binding attribute. |
IElement |
getSubElement(java.lang.Class aClass,
java.lang.Object aMessage,
IConstraintViolations aViolations)
|
protected java.lang.String |
getTargetNamespace()
|
boolean |
isTopLevelComponent()
|
java.util.Iterator |
iterChildrenByClass(java.lang.Class aClass)
|
void |
setLocation(ILocation aLocation)
|
void |
setParent_(IElement anElement)
|
java.lang.String |
toString()
|
void |
validateElement(IElemValHelper aHelper,
IConstraintViolations aViolations)
|
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.IParent |
addChild, hasChildren, iterChildren |
Methods inherited from interface org.jbind.xml.core.cmp.IXmlElement |
iterXmlNodes |
Constructor Detail |
public Element(CreationParams aCreationParams)
Method Detail |
public boolean isTopLevelComponent()
isTopLevelComponent
in interface IElement
public ISchemaDocument getSchemaDocument()
getSchemaDocument
in interface IElement
public final IElement createChild(CreationParams aCreationParams, IConstraintViolations aViolations) throws XmlException
createChild
in interface IElement
XmlException
public final void addAttribute(ACParams anACParams) throws XmlException
addAttribute
in interface IElement
XmlException
protected IAttribute doCreateAttribute(ACParams anACParams) throws XmlException
anACParams
- (required).
XmlException
- Thrown if the creation was not successful.protected IElement doCreateChild(CreationParams aCreationParams) throws XmlException
aCreationParams
- (required).
XmlException
- Raised if the creation was not successful.public void validateElement(IElemValHelper aHelper, IConstraintViolations aViolations)
validateElement
in interface IElement
protected SchemaElement getSchemaElement()
protected java.lang.String getTargetNamespace()
protected java.lang.Boolean getBoolean(java.lang.String anAttributeName)
protected IRef createGlobalRef(IQName aQName, ISymbolspace aSymbolSpace)
public IElement getSubElement(java.lang.Class aClass, java.lang.Object aMessage, IConstraintViolations aViolations)
getSubElement
in interface IElement
public java.util.Iterator iterChildrenByClass(java.lang.Class aClass)
iterChildrenByClass
in interface IElement
public IElement getChildByClass(java.lang.Class aClass, java.lang.Object aMessage, IConstraintViolations aViolations)
public ISchema getSchema()
getSchema
in interface IElement
public java.lang.String getStringBindingAttribute(java.lang.String aName)
IHasBindingAttributes
getStringBindingAttribute
in interface IHasBindingAttributes
aName
- (required).
public IAttribute getBindingAttribute(java.lang.String aName)
IHasBindingAttributes
getBindingAttribute
in interface IHasBindingAttributes
aName
- (required)
public java.lang.String getLocalStringBindingAttribute(java.lang.String aName)
IHasBindingAttributes
getLocalStringBindingAttribute
in interface IHasBindingAttributes
aName
- (required).
public IAttribute getLocalBindingAttribute(java.lang.String aName)
IHasBindingAttributes
getLocalBindingAttribute
in interface IHasBindingAttributes
aName
- (required)
public java.lang.String getDefaultedLocalStringBindingAttribute(java.lang.String aName)
IHasBindingAttributes
getDefaultedLocalStringBindingAttribute
in interface IHasBindingAttributes
aName
- (required).
public IAttribute getDefaultedLocalBindingAttribute(java.lang.String aName)
IHasBindingAttributes
getDefaultedLocalBindingAttribute
in interface IHasBindingAttributes
aName
- (required)
public IComponentJobHelper getParentHelper()
public IElement getParent_()
getParent_
in interface INode
public void setParent_(IElement anElement)
setParent_
in interface INode
public java.lang.String getNamespaceUri()
public java.lang.String getPrefix()
public java.lang.String getLocalName()
public IQName getQName()
getQName
in interface IElement
public IAttributes getAttributes()
getAttributes
in interface IXmlElement
public ILocation getLocation()
getLocation
in interface IHasLocation
public void setLocation(ILocation aLocation)
setLocation
in interface INode
protected java.lang.String getNamespace(java.lang.String aPrefix)
public java.util.Map getPrefixToNamespaceMapping()
getPrefixToNamespaceMapping
in interface ISourceInfo
public java.lang.String toString()
public IAnnotation getAnnotation()
getAnnotation
in interface ISourceInfo
public void acceptAppInfoVisitor(IAppInfoVisitor aVisitor)
acceptAppInfoVisitor
in interface IXmlNode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |