|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.ontopia.utils.ontojsp.JSPTreeNode
public class JSPTreeNode
INTERNAL: Tree node representing a JSP tag.
JSPContentHandler| Field Summary | |
|---|---|
protected Map<String,String> |
attr
|
protected List<JSPTreeNodeIF> |
children
|
protected boolean |
dontCloneTags
|
protected String |
name
|
protected JSPTreeNodeIF |
parent
|
protected javax.servlet.jsp.tagext.TagSupport |
tag
|
| Constructor Summary | |
|---|---|
JSPTreeNode(String name,
JSPTreeNodeIF parent)
|
|
JSPTreeNode(String name,
JSPTreeNodeIF parent,
boolean dontCloneTags)
|
|
| Method Summary | |
|---|---|
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 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(String name)
Sets the name of the tag which this JSPTreeNode represents. |
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 String name
protected JSPTreeNodeIF parent
protected List<JSPTreeNodeIF> children
protected Map<String,String> attr
protected javax.servlet.jsp.tagext.TagSupport tag
protected final boolean dontCloneTags
| Constructor Detail |
|---|
public JSPTreeNode(String name,
JSPTreeNodeIF parent)
public JSPTreeNode(String name,
JSPTreeNodeIF parent,
boolean dontCloneTags)
| Method Detail |
|---|
public Map<String,String> getAttributes()
JSPTreeNodeIF
getAttributes in interface JSPTreeNodeIF
public void addAttribute(String key,
String value)
JSPTreeNodeIF
addAttribute in interface JSPTreeNodeIFpublic void setTagName(String name)
JSPTreeNodeIF
setTagName in interface JSPTreeNodeIFpublic String getTagName()
JSPTreeNodeIF
getTagName in interface JSPTreeNodeIFpublic javax.servlet.jsp.tagext.TagSupport getTag()
JSPTreeNodeIF
getTag in interface JSPTreeNodeIFpublic void setTag(javax.servlet.jsp.tagext.TagSupport tag)
JSPTreeNodeIF
setTag in interface JSPTreeNodeIFpublic JSPTreeNodeIF getParent()
JSPTreeNodeIF
getParent in interface JSPTreeNodeIFpublic void setParent(JSPTreeNodeIF parent)
JSPTreeNodeIF
setParent in interface JSPTreeNodeIFpublic void addChild(JSPTreeNodeIF node)
JSPTreeNodeIF
addChild in interface JSPTreeNodeIFpublic List<JSPTreeNodeIF> getChildren()
JSPTreeNodeIF
getChildren in interface JSPTreeNodeIFpublic String getContent()
JSPTreeNodeIF
getContent in interface JSPTreeNodeIFpublic String toString()
JSPTreeNodeIF
toString in interface JSPTreeNodeIFtoString in class Objectpublic JSPTreeNodeIF makeClone()
JSPTreeNodeIF
makeClone in interface JSPTreeNodeIF
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||