fr.opensagres.xdocreport.document.preprocessor.sax
Class BufferedTagElement

java.lang.Object
  extended by fr.opensagres.xdocreport.document.preprocessor.sax.BufferedRegionAdpater
      extended by fr.opensagres.xdocreport.document.preprocessor.sax.BufferedRegion
          extended by fr.opensagres.xdocreport.document.preprocessor.sax.BufferedTagElement
All Implemented Interfaces:
IBufferedRegion, ISavable
Direct Known Subclasses:
BufferedEndTagElement, BufferedStartTagElement

public class BufferedTagElement
extends BufferedRegion

Base class for start/end tag element. This buffer stores content of the start/end tag element and is enable to add some content (ex: template engine script) on before/after the content of the start/end tag element.


Field Summary
 
Fields inherited from class fr.opensagres.xdocreport.document.preprocessor.sax.BufferedRegion
regions
 
Constructor Summary
BufferedTagElement(BufferedElement ownerElement)
           
 
Method Summary
 String getAfter()
           
 String getBefore()
           
 void save(Writer writer)
          Write the content of the buffer in the given writer.
 void setAfter(String after)
           
 void setBefore(String before)
           
 
Methods inherited from class fr.opensagres.xdocreport.document.preprocessor.sax.BufferedRegion
addRegion, append, append, append, isString, reset
 
Methods inherited from class fr.opensagres.xdocreport.document.preprocessor.sax.BufferedRegionAdpater
getOwnerElement, getParent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BufferedTagElement

public BufferedTagElement(BufferedElement ownerElement)
Method Detail

save

public void save(Writer writer)
          throws IOException
Description copied from interface: ISavable
Write the content of the buffer in the given writer.

Specified by:
save in interface ISavable
Overrides:
save in class BufferedRegion
Throws:
IOException

setBefore

public void setBefore(String before)

getBefore

public String getBefore()

setAfter

public void setAfter(String after)

getAfter

public String getAfter()


Copyright © 2013. All rights reserved.