org.tagnetic.core.framework
Class TagGroup

java.lang.Object
  extended byorg.tagnetic.core.framework.TagGroup

public class TagGroup
extends java.lang.Object


Constructor Summary
protected TagGroup(TagContext tagContext, int bodyStartIndex)
           
 
Method Summary
 void addPostContent(java.lang.String postContent)
           
 void addPreContent(java.lang.String preContent)
           
 void addTag(Tag tag)
           
 boolean allowChildExecute()
           
 void createChildScriptScope()
           
 void destroyChildScriptScope()
           
protected  BodyInstruction executeEndTag()
           
protected  BodyInstruction executeStartTag()
           
 Tag getAncestorTag(java.lang.Class classReference)
           
 BodyInstruction getBodyInstruction()
           
 int getBodyStartIndex()
           
 ElementNameWithNsPrefix getElementNameWithNsPrefix()
           
 java.lang.String getEndTagText()
           
 Tag getParentTag(java.lang.Class classReference)
           
protected  TagGroup getParentTagGroup()
           
 TagOutput getParentTagOutput()
           
 java.lang.String getPostContent()
           
 java.lang.String getPreContent()
           
 ScriptContext getScriptContext()
           
 java.lang.Object getScriptScope()
           
 java.lang.String getStartTagText()
           
protected  Tag getTagByClass(java.lang.Class classReference)
           
 TagContext getTagContext()
           
 int getTagCount()
           
 TagOutput getTagOutput()
           
 boolean isEndTagOutputTextSet()
           
 boolean isStartTagOutputTextSet()
           
 BodyInstruction onEndTag()
           
 BodyInstruction onStartTag()
           
 TagOutput popTagOutput()
           
 void pushTagOutput(TagOutput tagOutput)
           
 void setBodyInstruction(BodyInstruction bodyInstruction)
           
 void setElementNameWithNsPrefix(ElementNameWithNsPrefix elementNameWithNsPrefix)
           
 void setEndTagOutputText(java.lang.String endTagText)
           
 void setEndTagText(java.lang.String tagText)
           
protected  void setPosition(int stackPosition)
           
protected  void setScriptContext(ScriptContext scriptContext)
           
protected  void setScriptScope(java.lang.Object scriptScope)
           
 void setStartTagOutputText(java.lang.String startTagText)
           
 void setStartTagText(java.lang.String tagText)
           
 void setWriteContentsToParent(boolean shouldWrite)
           
protected  void writeContentsToParent()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagGroup

protected TagGroup(TagContext tagContext,
                   int bodyStartIndex)
Method Detail

onStartTag

public BodyInstruction onStartTag()
                           throws TagneticException
Throws:
TagneticException

onEndTag

public BodyInstruction onEndTag()
                         throws TagneticException
Throws:
TagneticException

addTag

public void addTag(Tag tag)

getTagCount

public int getTagCount()

setStartTagText

public void setStartTagText(java.lang.String tagText)

setEndTagText

public void setEndTagText(java.lang.String tagText)

getStartTagText

public java.lang.String getStartTagText()

getEndTagText

public java.lang.String getEndTagText()

allowChildExecute

public boolean allowChildExecute()

getBodyInstruction

public BodyInstruction getBodyInstruction()

setBodyInstruction

public void setBodyInstruction(BodyInstruction bodyInstruction)

getTagOutput

public TagOutput getTagOutput()

pushTagOutput

public void pushTagOutput(TagOutput tagOutput)

popTagOutput

public TagOutput popTagOutput()

getElementNameWithNsPrefix

public ElementNameWithNsPrefix getElementNameWithNsPrefix()

setElementNameWithNsPrefix

public void setElementNameWithNsPrefix(ElementNameWithNsPrefix elementNameWithNsPrefix)

getScriptScope

public java.lang.Object getScriptScope()

getScriptContext

public ScriptContext getScriptContext()

getTagContext

public TagContext getTagContext()

getBodyStartIndex

public int getBodyStartIndex()

getAncestorTag

public Tag getAncestorTag(java.lang.Class classReference)
                   throws TagneticBadDataException
Throws:
TagneticBadDataException

getParentTag

public Tag getParentTag(java.lang.Class classReference)
                 throws TagneticBadDataException
Throws:
TagneticBadDataException

setWriteContentsToParent

public void setWriteContentsToParent(boolean shouldWrite)

setStartTagOutputText

public void setStartTagOutputText(java.lang.String startTagText)

setEndTagOutputText

public void setEndTagOutputText(java.lang.String endTagText)

isStartTagOutputTextSet

public boolean isStartTagOutputTextSet()

isEndTagOutputTextSet

public boolean isEndTagOutputTextSet()

getPostContent

public java.lang.String getPostContent()

addPostContent

public void addPostContent(java.lang.String postContent)

getPreContent

public java.lang.String getPreContent()

addPreContent

public void addPreContent(java.lang.String preContent)

createChildScriptScope

public void createChildScriptScope()
                            throws TagneticScriptException
Throws:
TagneticScriptException

destroyChildScriptScope

public void destroyChildScriptScope()
                             throws TagneticScriptException
Throws:
TagneticScriptException

getParentTagOutput

public TagOutput getParentTagOutput()

writeContentsToParent

protected void writeContentsToParent()
                              throws TagneticException
Throws:
TagneticException

setScriptContext

protected void setScriptContext(ScriptContext scriptContext)

setScriptScope

protected void setScriptScope(java.lang.Object scriptScope)

executeStartTag

protected BodyInstruction executeStartTag()
                                   throws TagneticException
Throws:
TagneticException

executeEndTag

protected BodyInstruction executeEndTag()
                                 throws TagneticException
Throws:
TagneticException

setPosition

protected void setPosition(int stackPosition)

getParentTagGroup

protected TagGroup getParentTagGroup()

getTagByClass

protected Tag getTagByClass(java.lang.Class classReference)
                     throws TagneticBadDataException
Throws:
TagneticBadDataException


Copyright © 2005 tagnetic.org. All Rights Reserved.