Class BufferedRegion
java.lang.Object
fr.opensagres.xdocreport.document.preprocessor.sax.BufferedRegionAdpater
fr.opensagres.xdocreport.document.preprocessor.sax.BufferedRegion
- All Implemented Interfaces:
IBufferedRegion,ISavable
- Direct Known Subclasses:
BufferedTagElement
Buffered region.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a the given buffered region to the buffer.voidappend(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.booleanisString()Returns true if buffered region is a String and false otherwise.voidreset()voidWrite the content of the buffer in the given writer.Methods inherited from class fr.opensagres.xdocreport.document.preprocessor.sax.BufferedRegionAdpater
getOwnerElement, getParent, toString
-
Field Details
-
regions
-
-
Constructor Details
-
BufferedRegion
-
-
Method Details
-
save
Description copied from interface:ISavableWrite the content of the buffer in the given writer.- Specified by:
savein interfaceISavable- Overrides:
savein classBufferedRegionAdpater- Throws:
IOException
-
addRegion
Description copied from interface:IBufferedRegionAdd a the given buffered region to the buffer.- Specified by:
addRegionin interfaceIBufferedRegion- Overrides:
addRegionin classBufferedRegionAdpater
-
append
Description copied from interface:IBufferedRegionAppend the given content 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
-
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:
-
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
-
reset
public void reset()
-