Package net.ontopia.utils.ontojsp
Interface JSPTreeNodeIF
-
- All Known Implementing Classes:
JSPContentTreeNode,JSPTreeNode
public interface JSPTreeNodeIFINTERNAL: 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 voidaddAttribute(String key, String value)Add a attribute to this JSPTreeNode.voidaddChild(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.StringgetContent()The string content attached to this JSPTreeNode.JSPTreeNodeIFgetParent()Gets the parent node of this JSPTreeNode.javax.servlet.jsp.tagext.TagSupportgetTag()Gets the tag that this JSPTreeNode represents.StringgetTagName()Gets the tag name that this JSPTreeNode represents.JSPTreeNodeIFmakeClone()Returns a node of the same class with the same internal state, but with a different tag object internally.voidsetParent(JSPTreeNodeIF parentNode)Sets the parent node of this JSPTreeNode.voidsetTag(javax.servlet.jsp.tagext.TagSupport tag)Sets the tag which this JSPTreeNode represents.voidsetTagName(String tagName)Sets the name of the tag which this JSPTreeNode represents.StringtoString()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!).
-
-