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

java.lang.Object
  extended by fr.opensagres.xdocreport.document.preprocessor.sax.BufferedRegionAdpater
      extended by fr.opensagres.xdocreport.document.preprocessor.sax.StringBufferedRegion
All Implemented Interfaces:
IBufferedRegion, ISavable

public class StringBufferedRegion
extends BufferedRegionAdpater

String buffered region.


Constructor Summary
StringBufferedRegion(BufferedElement ownerElement, IBufferedRegion parent)
           
 
Method Summary
 void append(char c)
          Append the given content to the buffer.
 void append(char[] ch, int start, int length)
          Append the given char array to the buffer.
 void append(String content)
          Append the given content to the buffer.
 void clear()
           
 boolean isString()
          Returns true if buffered region is a String and false otherwise.
 void save(Writer writer)
          Write the content of the buffer in the given writer.
 String toString()
           
 
Methods inherited from class fr.opensagres.xdocreport.document.preprocessor.sax.BufferedRegionAdpater
addRegion, getOwnerElement, getParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringBufferedRegion

public StringBufferedRegion(BufferedElement ownerElement,
                            IBufferedRegion parent)
Method Detail

isString

public boolean isString()
Description copied from interface: IBufferedRegion
Returns true if buffered region is a String and false otherwise.

Specified by:
isString in interface IBufferedRegion
Overrides:
isString in class BufferedRegionAdpater
Returns:

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 BufferedRegionAdpater
Throws:
IOException

append

public void append(String content)
Description copied from interface: IBufferedRegion
Append the given content to the buffer.

Specified by:
append in interface IBufferedRegion
Overrides:
append in class BufferedRegionAdpater

append

public void append(char[] ch,
                   int start,
                   int length)
Description copied from interface: IBufferedRegion
Append the given char array to the buffer.

Specified by:
append in interface IBufferedRegion
Overrides:
append in class BufferedRegionAdpater

append

public void append(char c)
Description copied from interface: IBufferedRegion
Append the given content to the buffer.

Specified by:
append in interface IBufferedRegion
Overrides:
append in class BufferedRegionAdpater

toString

public String toString()
Overrides:
toString in class BufferedRegionAdpater

clear

public void clear()


Copyright © 2013. All rights reserved.