|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 IElementpublic ISchemaDocument getSchemaDocument()
getSchemaDocument in interface IElement
public final IElement createChild(CreationParams aCreationParams,
IConstraintViolations aViolations)
throws XmlException
createChild in interface IElementXmlException
public final void addAttribute(ACParams anACParams)
throws XmlException
addAttribute in interface IElementXmlException
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 IElementprotected 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 IElementpublic 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 IElementpublic java.lang.String getStringBindingAttribute(java.lang.String aName)
IHasBindingAttributes
getStringBindingAttribute in interface IHasBindingAttributesaName - (required).
public IAttribute getBindingAttribute(java.lang.String aName)
IHasBindingAttributes
getBindingAttribute in interface IHasBindingAttributesaName - (required)
public java.lang.String getLocalStringBindingAttribute(java.lang.String aName)
IHasBindingAttributes
getLocalStringBindingAttribute in interface IHasBindingAttributesaName - (required).
public IAttribute getLocalBindingAttribute(java.lang.String aName)
IHasBindingAttributes
getLocalBindingAttribute in interface IHasBindingAttributesaName - (required)
public java.lang.String getDefaultedLocalStringBindingAttribute(java.lang.String aName)
IHasBindingAttributes
getDefaultedLocalStringBindingAttribute in interface IHasBindingAttributesaName - (required).
public IAttribute getDefaultedLocalBindingAttribute(java.lang.String aName)
IHasBindingAttributes
getDefaultedLocalBindingAttribute in interface IHasBindingAttributesaName - (required)
public IComponentJobHelper getParentHelper()
public IElement getParent_()
getParent_ in interface INodepublic void setParent_(IElement anElement)
setParent_ in interface INodepublic java.lang.String getNamespaceUri()
public java.lang.String getPrefix()
public java.lang.String getLocalName()
public IQName getQName()
getQName in interface IElementpublic IAttributes getAttributes()
getAttributes in interface IXmlElementpublic ILocation getLocation()
getLocation in interface IHasLocationpublic void setLocation(ILocation aLocation)
setLocation in interface INodeprotected java.lang.String getNamespace(java.lang.String aPrefix)
public java.util.Map getPrefixToNamespaceMapping()
getPrefixToNamespaceMapping in interface ISourceInfopublic java.lang.String toString()
public IAnnotation getAnnotation()
getAnnotation in interface ISourceInfopublic void acceptAppInfoVisitor(IAppInfoVisitor aVisitor)
acceptAppInfoVisitor in interface IXmlNode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||