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:
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddAttribute(String key, String value) Add a attribute to this JSPTreeNode.voidaddChild(JSPTreeNodeIF node) Adds a child node to this JSPTreeNode.Returns the attributes for this JSPTreeNode.Gets the children (ordered) of this JSPTreeNode.The string content attached to this JSPTreeNode.Gets the parent node of this JSPTreeNode.javax.servlet.jsp.tagext.TagSupportgetTag()Gets the tag that this JSPTreeNode represents.Gets the tag name that this JSPTreeNode represents.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.toString()A string representation of this JSPTreeNode.
-
Method Details
-
getAttributes
Returns the attributes for this JSPTreeNode. -
addAttribute
Add a attribute to this JSPTreeNode. -
setTagName
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
Sets the parent node of this JSPTreeNode. -
addChild
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!).
-