|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jbind.xml.schema.cmp.Component
| Constructor Summary | |
Component(ISourceInfo aSourceInfo,
java.lang.String aNamespace,
java.lang.String aName)
|
|
| Method Summary | |
void |
addSubComponent(IComponent aComponent)
|
IAnnotation |
getAnnotation()
|
IAttribute |
getBindingAttribute(java.lang.String aName)
Gets the specified binding attribute. |
IBinding[] |
getBindings()
|
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. |
IRef |
getGlobalRef()
Gets the reference that identifies the component. |
IAttribute |
getLocalBindingAttribute(java.lang.String aName)
Gets a local binding attribute. |
java.lang.String |
getLocalStringBindingAttribute(java.lang.String aName)
Gets a string valued local binding attribute. |
ILocation |
getLocation()
|
java.lang.String |
getName()
Gets the name. |
java.lang.String |
getNamespace()
Gets the namespace. |
IComponent |
getParentComponent()
|
java.util.Map |
getPrefixToNamespaceMapping()
|
java.lang.String |
getStringBindingAttribute(java.lang.String aName)
Gets a string valued binding attribute. |
boolean |
isAnonymous()
Checks if the component is anonymous. |
boolean |
isTopLevelComponent()
Checks if the component is a top level component. |
void |
setBindings(IBinding[] aBindings)
|
void |
setParentComponent(IComponent aParent)
|
protected void |
visitSubComponents(IComponentVisitor aVisitor)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jbind.xml.core.cmp.IComponent |
accept, getSymbolspace, isReference, validate |
| Constructor Detail |
public Component(ISourceInfo aSourceInfo,
java.lang.String aNamespace,
java.lang.String aName)
| Method Detail |
public final java.lang.String getNamespace()
IComponent
getNamespace in interface IComponentpublic final java.lang.String getName()
IComponent
getName in interface IComponentpublic final boolean isAnonymous()
IComponent
isAnonymous in interface IComponenttrue iff the component is anonymous.public final IRef getGlobalRef()
IComponent
getGlobalRef in interface IComponentpublic final IBinding[] getBindings()
getBindings in interface IComponentpublic final void setBindings(IBinding[] aBindings)
setBindings in interface IComponentpublic ILocation getLocation()
getLocation in interface IHasLocationpublic IAttribute getBindingAttribute(java.lang.String aName)
IHasBindingAttributes
getBindingAttribute in interface IHasBindingAttributesaName - (required)
public IAttribute getLocalBindingAttribute(java.lang.String aName)
IHasBindingAttributes
getLocalBindingAttribute in interface IHasBindingAttributesaName - (required)
public IAttribute getDefaultedLocalBindingAttribute(java.lang.String aName)
IHasBindingAttributes
getDefaultedLocalBindingAttribute in interface IHasBindingAttributesaName - (required)
public final java.lang.String getLocalStringBindingAttribute(java.lang.String aName)
IHasBindingAttributes
getLocalStringBindingAttribute in interface IHasBindingAttributesaName - (required).
public final java.lang.String getDefaultedLocalStringBindingAttribute(java.lang.String aName)
IHasBindingAttributes
getDefaultedLocalStringBindingAttribute in interface IHasBindingAttributesaName - (required).
public final java.lang.String getStringBindingAttribute(java.lang.String aName)
IHasBindingAttributes
getStringBindingAttribute in interface IHasBindingAttributesaName - (required).
public java.util.Map getPrefixToNamespaceMapping()
getPrefixToNamespaceMapping in interface ISourceInfopublic boolean isTopLevelComponent()
IComponent
isTopLevelComponent in interface IComponenttrue iff this component is a top level
component.public IAnnotation getAnnotation()
getAnnotation in interface ISourceInfopublic void setParentComponent(IComponent aParent)
setParentComponent in interface IComponentpublic IComponent getParentComponent()
getParentComponent in interface IComponentpublic void addSubComponent(IComponent aComponent)
addSubComponent in interface IComponent
protected void visitSubComponents(IComponentVisitor aVisitor)
throws XmlException
XmlException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||