|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.portaluiinfrastructure.tags.helper.TagVisitor
public class TagVisitor
This class is used to traverse the tag display tree and pass common data to each element as it is displayed.
Field Summary | |
---|---|
protected TagDisplayElement |
m_CurrentTag
|
protected IEnvironment |
m_Environment
|
protected HTMLElementCollection |
m_SharedJavascript
|
protected TagState |
m_TagState
|
Constructor Summary | |
---|---|
TagVisitor(TagState _tagState,
IEnvironment _environment,
HTMLElementCollection _sharedJavaScript)
Constructor for TagVisitor. |
Method Summary | |
---|---|
IEnvironment |
GetEnvironment()
The environment for the current HTTP request. |
HTMLElementCollection |
GetJavaScriptCollection()
The Shared JavaScript collection for the current http request. |
TagState |
GetState()
The TagState for the current portlet request. |
boolean |
HasChildTags(ITagMetaData[] _childTags,
java.lang.Object[] _results,
TagLibraryMetaData _library)
|
int |
HasParentTag(ITagMetaData _parentTag,
TagLibraryMetaData _library)
|
void |
SetCurrentTag(TagDisplayElement _currentTag)
Sets the current Tag Display Element from the display tree so the TagVisitor can search the tree. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected TagState m_TagState
protected IEnvironment m_Environment
protected TagDisplayElement m_CurrentTag
protected HTMLElementCollection m_SharedJavascript
Constructor Detail |
---|
public TagVisitor(TagState _tagState, IEnvironment _environment, HTMLElementCollection _sharedJavaScript)
_tagState
- The TagState object for this
portlet request._environment
- The environment for this HTTP
request.Method Detail |
---|
public IEnvironment GetEnvironment()
public TagState GetState()
public HTMLElementCollection GetJavaScriptCollection()
public void SetCurrentTag(TagDisplayElement _currentTag)
_currentTag
- The current TagDisplayElement in
the display tree.public int HasParentTag(ITagMetaData _parentTag, TagLibraryMetaData _library)
IDisplayElement.HasParentElement(ITagMetaData, TagLibraryMetaData)
public boolean HasChildTags(ITagMetaData[] _childTags, java.lang.Object[] _results, TagLibraryMetaData _library)
com.plumtree.portaluiinfrastructure.tags.displaytree.IDisplayElement#HasChildElements(ITagMetaData[], Object[], TagLibraryMetaData)
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |