|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectooc.LinkedTagInstance
This class contains mehtods mapped from class Tag
in order
to facilitate usage of the tag instance.
Constructor Summary | |
LinkedTagInstance()
Constructs an instance without any arguments. |
Method Summary | |
boolean |
containsKey(java.lang.Object key)
Returns true if the key exists in this map. |
java.lang.Object |
get(java.lang.Object key)
Returns the depdendency mapped to by the given key. |
java.lang.Object |
getAttribute(java.lang.String attribute)
For more information see Tag.getAttribute(java.lang.String, java.lang.Object, java.lang.Object) . |
boolean |
getAttributeBoolean(java.lang.String attribute)
For more information see Tag.getAttributeBoolean(java.lang.String, ooc.Dependencies) . |
double |
getAttributeDouble(java.lang.String attribute)
For more information see Tag.getAttributeDouble(java.lang.String, ooc.Dependencies) . |
float |
getAttributeFloat(java.lang.String attribute)
For more information see Tag.getAttributeFloat(java.lang.String, ooc.Dependencies) . |
int |
getAttributeInteger(java.lang.String attribute)
For more information see Tag.getAttributeInteger(java.lang.String, ooc.Dependencies) . |
java.util.List |
getAttributeList(java.lang.String attribute)
For more information see Tag.getAttributeList(java.lang.String) . |
java.lang.String |
getAttributeRef(java.lang.String attributeName)
For more information see Tag.getAttributeRef(java.lang.String) . |
short |
getAttributeShort(java.lang.String name)
For more information see Tag.getAttributeShort(java.lang.String, ooc.Dependencies) . |
java.lang.String |
getAttributeString(java.lang.String attribute)
For more information see Tag.getAttributeString(java.lang.String, ooc.Dependencies) . |
Tag |
getAttributeTag(java.lang.String name)
For more information see Tag.getAttributeTag(String name) . |
java.util.Iterator |
getChildIterator()
For more information see Tag.getChildIterator(ooc.Tag) . |
java.util.Iterator |
getChildIteratorByName(java.lang.String tagName)
For more information see Tag.getChildIteratorByName(String tagName) . |
Container |
getContainer()
Returns the tag handler from which this tag was generated. |
Tag |
getContainerTag(java.lang.String tagId)
|
Tag |
getFirstChildTagByName(java.lang.String tagName)
For more information see Tag.getFirstChildTagByName(java.lang.String) . |
Tag |
getTag()
Returns the tag of this tag instance. |
java.lang.String |
getTagId()
For more information see Tag.getTagId() . |
java.lang.Object |
getTagInstance()
|
java.lang.Object |
getTagInstance(Dependencies dependencies)
|
java.lang.String |
getTagRef()
For more information see Tag.getTagRef() . |
boolean |
hasAttributeValue(java.lang.String attribute)
For more information see Tag.hasAttributeValue(java.lang.String) . |
boolean |
hasChildTagByName(java.lang.String tagName)
For more information see Tag.hasChildTagByName(java.lang.String) . |
boolean |
hasChildTags()
For more information see Tag.hasChildTags() . |
boolean |
hasTag()
Returns true if this tag instance has a tag. |
boolean |
isMutable()
Returns true if this dependency map is mutable, else false; |
java.util.Set |
keySet()
Returns the the key set mapping to the instances in this dependency map. |
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value)
Add a new dependency into this map and return the old one, if any. |
java.lang.Object |
remove(java.lang.Object key)
Remove the key-value pair from this depedency map. |
void |
setTag(Tag tag)
|
void |
setupInstance()
The default setup method which will be called. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LinkedTagInstance()
Method Detail |
public Tag getTag()
public void setTag(Tag tag)
public boolean hasTag()
public void setupInstance()
public java.util.Set keySet()
Dependencies
keySet
in interface Dependencies
public java.lang.Object get(java.lang.Object key)
Dependencies
get
in interface Dependencies
public boolean containsKey(java.lang.Object key)
Dependencies
containsKey
in interface Dependencies
public java.lang.Object put(java.lang.Object key, java.lang.Object value)
Dependencies
put
in interface Dependencies
public java.lang.Object remove(java.lang.Object key)
Dependencies
remove
in interface Dependencies
public boolean isMutable()
Dependencies
isMutable
in interface Dependencies
public Container getContainer()
public java.lang.String getTagId()
Tag.getTagId()
.
public Tag getContainerTag(java.lang.String tagId)
public boolean hasAttributeValue(java.lang.String attribute)
Tag.hasAttributeValue(java.lang.String)
.
public java.lang.Object getAttribute(java.lang.String attribute)
Tag.getAttribute(java.lang.String, java.lang.Object, java.lang.Object)
.
public java.lang.String getAttributeString(java.lang.String attribute)
Tag.getAttributeString(java.lang.String, ooc.Dependencies)
.
public boolean getAttributeBoolean(java.lang.String attribute)
Tag.getAttributeBoolean(java.lang.String, ooc.Dependencies)
.
public float getAttributeFloat(java.lang.String attribute)
Tag.getAttributeFloat(java.lang.String, ooc.Dependencies)
.
public double getAttributeDouble(java.lang.String attribute)
Tag.getAttributeDouble(java.lang.String, ooc.Dependencies)
.
public int getAttributeInteger(java.lang.String attribute)
Tag.getAttributeInteger(java.lang.String, ooc.Dependencies)
.
public short getAttributeShort(java.lang.String name)
Tag.getAttributeShort(java.lang.String, ooc.Dependencies)
.
public Tag getAttributeTag(java.lang.String name)
Tag.getAttributeTag(String name)
.
public java.util.List getAttributeList(java.lang.String attribute)
Tag.getAttributeList(java.lang.String)
.
public boolean hasChildTags()
Tag.hasChildTags()
.
public boolean hasChildTagByName(java.lang.String tagName)
Tag.hasChildTagByName(java.lang.String)
.
public java.util.Iterator getChildIteratorByName(java.lang.String tagName)
Tag.getChildIteratorByName(String tagName)
.
public java.util.Iterator getChildIterator()
Tag.getChildIterator(ooc.Tag)
.
public Tag getFirstChildTagByName(java.lang.String tagName)
Tag.getFirstChildTagByName(java.lang.String)
.
public java.lang.String getTagRef()
Tag.getTagRef()
.
public java.lang.String getAttributeRef(java.lang.String attributeName)
Tag.getAttributeRef(java.lang.String)
.
public java.lang.Object getTagInstance()
public java.lang.Object getTagInstance(Dependencies dependencies)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |