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 Details

    • getAttributes

      Map<String,String> getAttributes()
      Returns the attributes for this JSPTreeNode.
    • addAttribute

      void addAttribute(String key, String value)
      Add a attribute to this JSPTreeNode.
    • 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.
      Overrides:
      toString in class Object
    • 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!).