org.jostraca
Interface TemplateActionHandler

All Known Implementing Classes:
BasicTemplateParser

public interface TemplateActionHandler

Handle template actions created by template elements.


Method Summary
 void append(java.lang.String pContent)
          Append content to the default section
 void append(java.lang.String pSectionName, java.lang.String pContent)
          Append content to a given section.
 java.lang.String getDefaultSection()
          Transitional method: Section name needed for creating BasicUnits.
 int getLastElementType()
          Get the element type of the last block processed.
 Section getSection(java.lang.String pSectionName)
          Get the named section.
 void setDefaultSection(java.lang.String pSectionName)
          Set the default section to add content to.
 void setLastElementType(int pLastElementType)
          Set the element type of the last block processed.
 

Method Detail

setDefaultSection

public void setDefaultSection(java.lang.String pSectionName)
Set the default section to add content to.

Parameters:
pSectionName - Name of default section.

getDefaultSection

public java.lang.String getDefaultSection()
Transitional method: Section name needed for creating BasicUnits.


getSection

public Section getSection(java.lang.String pSectionName)
Get the named section.

Parameters:
pSectionName - Name of section.

append

public void append(java.lang.String pContent)
Append content to the default section

Parameters:
pContent - Content to append to default section.

append

public void append(java.lang.String pSectionName,
                   java.lang.String pContent)
Append content to a given section.

Parameters:
pSectionName - Name of section to append content to.
pContent - Content to append to section.

getLastElementType

public int getLastElementType()
Get the element type of the last block processed.


setLastElementType

public void setLastElementType(int pLastElementType)
Set the element type of the last block processed.



Copyright © 2000-2002 Richard Rodger