org.tagnetic.core.framework
Class TagStack

java.lang.Object
  extended byorg.tagnetic.core.framework.TagStack
All Implemented Interfaces:
java.io.Serializable

public class TagStack
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
TagStack(TagRegistry tagRegistry, TagContext tagContext)
           
 
Method Summary
 BodyInstruction endTag(ParsedTag parsedTag)
           
protected  Tag getAncestorTag(java.lang.Class classReference, int stackPosition)
           
 BodyInstruction getBodyInstruction()
           
 int getBodyStartIndex()
           
protected  TagGroup getParentTagGroup(int stackPosition)
           
protected  java.util.Stack getStack()
           
 TagOutput getTagOutput()
           
protected  TagRegistry getTagRegistry()
           
 TagOutput getTopTagOutput()
           
 boolean isMatchingEndTag(ParsedTag parsedTag)
           
 TagGroup peek()
           
 TagGroup pop()
           
 TagOutput popTagOutput()
           
 void push(TagGroup tagGroup)
           
 void pushTagOutput(TagOutput tagOutput)
           
 int size()
           
 BodyInstruction startTag(ParsedTag parsedTag, int bodyStartIndex)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagStack

public TagStack(TagRegistry tagRegistry,
                TagContext tagContext)
Method Detail

startTag

public BodyInstruction startTag(ParsedTag parsedTag,
                                int bodyStartIndex)
                         throws TagneticException
Throws:
TagneticException

isMatchingEndTag

public boolean isMatchingEndTag(ParsedTag parsedTag)
                         throws TagneticException
Throws:
TagneticException

endTag

public BodyInstruction endTag(ParsedTag parsedTag)
                       throws TagneticException
Throws:
TagneticException

push

public void push(TagGroup tagGroup)

pop

public TagGroup pop()

peek

public TagGroup peek()

size

public int size()

getBodyInstruction

public BodyInstruction getBodyInstruction()

getBodyStartIndex

public int getBodyStartIndex()
                      throws TagneticBadDataException
Throws:
TagneticBadDataException

getTagOutput

public TagOutput getTagOutput()

getTopTagOutput

public TagOutput getTopTagOutput()

pushTagOutput

public void pushTagOutput(TagOutput tagOutput)

popTagOutput

public TagOutput popTagOutput()

getAncestorTag

protected Tag getAncestorTag(java.lang.Class classReference,
                             int stackPosition)
                      throws TagneticBadDataException
Throws:
TagneticBadDataException

getParentTagGroup

protected TagGroup getParentTagGroup(int stackPosition)

getStack

protected java.util.Stack getStack()

getTagRegistry

protected TagRegistry getTagRegistry()


Copyright © 2005 tagnetic.org. All Rights Reserved.