|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 IComponent
public final java.lang.String getName()
IComponent
getName
in interface IComponent
public final boolean isAnonymous()
IComponent
isAnonymous
in interface IComponent
true
iff the component is anonymous.public final IRef getGlobalRef()
IComponent
getGlobalRef
in interface IComponent
public final IBinding[] getBindings()
getBindings
in interface IComponent
public final void setBindings(IBinding[] aBindings)
setBindings
in interface IComponent
public ILocation getLocation()
getLocation
in interface IHasLocation
public IAttribute getBindingAttribute(java.lang.String aName)
IHasBindingAttributes
getBindingAttribute
in interface IHasBindingAttributes
aName
- (required)
public IAttribute getLocalBindingAttribute(java.lang.String aName)
IHasBindingAttributes
getLocalBindingAttribute
in interface IHasBindingAttributes
aName
- (required)
public IAttribute getDefaultedLocalBindingAttribute(java.lang.String aName)
IHasBindingAttributes
getDefaultedLocalBindingAttribute
in interface IHasBindingAttributes
aName
- (required)
public final java.lang.String getLocalStringBindingAttribute(java.lang.String aName)
IHasBindingAttributes
getLocalStringBindingAttribute
in interface IHasBindingAttributes
aName
- (required).
public final java.lang.String getDefaultedLocalStringBindingAttribute(java.lang.String aName)
IHasBindingAttributes
getDefaultedLocalStringBindingAttribute
in interface IHasBindingAttributes
aName
- (required).
public final java.lang.String getStringBindingAttribute(java.lang.String aName)
IHasBindingAttributes
getStringBindingAttribute
in interface IHasBindingAttributes
aName
- (required).
public java.util.Map getPrefixToNamespaceMapping()
getPrefixToNamespaceMapping
in interface ISourceInfo
public boolean isTopLevelComponent()
IComponent
isTopLevelComponent
in interface IComponent
true
iff this component is a top level
component.public IAnnotation getAnnotation()
getAnnotation
in interface ISourceInfo
public void setParentComponent(IComponent aParent)
setParentComponent
in interface IComponent
public IComponent getParentComponent()
getParentComponent
in interface IComponent
public 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 |