|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.utils.ontojsp.JSPContentTreeNode
public class JSPContentTreeNode
INTERNAL: The Ontopia JSPTreeNode class. This class is the node of the JSPTree build by the JSPContentHandler.
JSPContentHandler
Field Summary | |
---|---|
protected java.lang.String |
content
|
protected JSPTreeNodeIF |
parent
|
Constructor Summary | |
---|---|
JSPContentTreeNode(JSPTreeNodeIF parent,
java.lang.String content)
Constructor that accepts the parent of this JSPTreeNode as an argument. |
Method Summary | |
---|---|
void |
addAttribute(java.lang.String key,
java.lang.String value)
Add a attribute to this JSPTreeNode. |
void |
addChild(JSPTreeNodeIF node)
Adds a child node to this JSPTreeNode. |
java.util.Map |
getAttributes()
Returns the attributes for this JSPTreeNode. |
java.util.List |
getChildren()
Gets the children (ordered) of this JSPTreeNode. |
java.lang.String |
getContent()
The string content attached to this JSPTreeNode. |
JSPTreeNodeIF |
getParent()
Gets the parent node of this JSPTreeNode. |
javax.servlet.jsp.tagext.TagSupport |
getTag()
Gets the tag that this JSPTreeNode represents. |
java.lang.String |
getTagName()
Gets the tag name that this JSPTreeNode represents. |
JSPTreeNodeIF |
makeClone()
Returns a node of the same class with the same internal state, but with a different tag object internally. |
void |
setContent(java.lang.String content)
|
void |
setParent(JSPTreeNodeIF parent)
Sets the parent node of this JSPTreeNode. |
void |
setTag(javax.servlet.jsp.tagext.TagSupport tag)
Sets the tag which this JSPTreeNode represents. |
void |
setTagName(java.lang.String name)
Sets the name of the tag which this JSPTreeNode represents. |
java.lang.String |
toString()
A string representation of this JSPTreeNode. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String content
protected JSPTreeNodeIF parent
Constructor Detail |
---|
public JSPContentTreeNode(JSPTreeNodeIF parent, java.lang.String content)
Method Detail |
---|
public java.util.Map getAttributes()
JSPTreeNodeIF
getAttributes
in interface JSPTreeNodeIF
public void addAttribute(java.lang.String key, java.lang.String value)
JSPTreeNodeIF
addAttribute
in interface JSPTreeNodeIF
public void setTagName(java.lang.String name)
JSPTreeNodeIF
setTagName
in interface JSPTreeNodeIF
public java.lang.String getTagName()
JSPTreeNodeIF
getTagName
in interface JSPTreeNodeIF
public javax.servlet.jsp.tagext.TagSupport getTag()
JSPTreeNodeIF
getTag
in interface JSPTreeNodeIF
public void setTag(javax.servlet.jsp.tagext.TagSupport tag)
JSPTreeNodeIF
setTag
in interface JSPTreeNodeIF
public JSPTreeNodeIF getParent()
JSPTreeNodeIF
getParent
in interface JSPTreeNodeIF
public void setParent(JSPTreeNodeIF parent)
JSPTreeNodeIF
setParent
in interface JSPTreeNodeIF
public void addChild(JSPTreeNodeIF node)
JSPTreeNodeIF
addChild
in interface JSPTreeNodeIF
public java.util.List getChildren()
JSPTreeNodeIF
getChildren
in interface JSPTreeNodeIF
public java.lang.String getContent()
JSPTreeNodeIF
getContent
in interface JSPTreeNodeIF
public void setContent(java.lang.String content)
public java.lang.String toString()
JSPTreeNodeIF
toString
in interface JSPTreeNodeIF
toString
in class java.lang.Object
public JSPTreeNodeIF makeClone()
JSPTreeNodeIF
makeClone
in interface JSPTreeNodeIF
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |