Package net.ontopia.utils.ontojsp
Interface JSPTreeNodeIF
-
- All Known Implementing Classes:
JSPContentTreeNode
,JSPTreeNode
public interface JSPTreeNodeIF
INTERNAL: Interface for classes which implement the Ontopia JSPTreeNodeIF. This class is the node of the JSPTree build by the JSPContentHandler.- See Also:
JSPContentHandler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addAttribute(String key, String value)
Add a attribute to this JSPTreeNode.void
addChild(JSPTreeNodeIF node)
Adds a child node to this JSPTreeNode.Map<String,String>
getAttributes()
Returns the attributes for this JSPTreeNode.List<JSPTreeNodeIF>
getChildren()
Gets the children (ordered) of this JSPTreeNode.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.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
setParent(JSPTreeNodeIF parentNode)
Sets the parent node of this JSPTreeNode.void
setTag(javax.servlet.jsp.tagext.TagSupport tag)
Sets the tag which this JSPTreeNode represents.void
setTagName(String tagName)
Sets the name of the tag which this JSPTreeNode represents.String
toString()
A string representation of this JSPTreeNode.
-
-
-
Method Detail
-
setTagName
void setTagName(String tagName)
Sets the name of the tag which this JSPTreeNode represents.
-
getTagName
String getTagName()
Gets the tag name that this JSPTreeNode represents.
-
setTag
void setTag(javax.servlet.jsp.tagext.TagSupport tag)
Sets the tag which this JSPTreeNode represents.
-
getTag
javax.servlet.jsp.tagext.TagSupport getTag()
Gets the tag that this JSPTreeNode represents.
-
getParent
JSPTreeNodeIF getParent()
Gets the parent node of this JSPTreeNode.
-
setParent
void setParent(JSPTreeNodeIF parentNode)
Sets the parent node of this JSPTreeNode.
-
addChild
void addChild(JSPTreeNodeIF node)
Adds a child node to this JSPTreeNode.
-
getChildren
List<JSPTreeNodeIF> getChildren()
Gets the children (ordered) of this JSPTreeNode.
-
getContent
String getContent()
The string content attached to this JSPTreeNode.
-
toString
String toString()
A string representation of this JSPTreeNode.
-
makeClone
JSPTreeNodeIF makeClone()
Returns a node of the same class with the same internal state, but with a different tag object internally. Calling this method 'makeClone' instead of 'clone' so we can override the return type (we want Eiffel, NOW!).
-
-