Class StringBufferedRegion
java.lang.Object
fr.opensagres.xdocreport.document.preprocessor.sax.BufferedRegionAdpater
fr.opensagres.xdocreport.document.preprocessor.sax.StringBufferedRegion
- All Implemented Interfaces:
IBufferedRegion,ISavable
String buffered region.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappend(char c) Append the given content to the buffer.voidappend(char[] ch, int start, int length) Append the given char array to the buffer.voidAppend the given content to the buffer.voidclear()booleanisString()Returns true if buffered region is a String and false otherwise.voidWrite the content of the buffer in the given writer.toString()Methods inherited from class fr.opensagres.xdocreport.document.preprocessor.sax.BufferedRegionAdpater
addRegion, getOwnerElement, getParent
-
Constructor Details
-
StringBufferedRegion
-
-
Method Details
-
isString
public boolean isString()Description copied from interface:IBufferedRegionReturns true if buffered region is a String and false otherwise.- Specified by:
isStringin interfaceIBufferedRegion- Overrides:
isStringin classBufferedRegionAdpater- Returns:
-
save
Description copied from interface:ISavableWrite the content of the buffer in the given writer.- Specified by:
savein interfaceISavable- Overrides:
savein classBufferedRegionAdpater- Throws:
IOException
-
append
Description copied from interface:IBufferedRegionAppend the given content to the buffer.- Specified by:
appendin interfaceIBufferedRegion- Overrides:
appendin classBufferedRegionAdpater
-
append
public void append(char[] ch, int start, int length) Description copied from interface:IBufferedRegionAppend the given char array to the buffer.- Specified by:
appendin interfaceIBufferedRegion- Overrides:
appendin classBufferedRegionAdpater
-
append
public void append(char c) Description copied from interface:IBufferedRegionAppend the given content to the buffer.- Specified by:
appendin interfaceIBufferedRegion- Overrides:
appendin classBufferedRegionAdpater
-
toString
- Overrides:
toStringin classBufferedRegionAdpater
-
clear
public void clear()
-