Class BufferedRegionAdpater
java.lang.Object
fr.opensagres.xdocreport.document.preprocessor.sax.BufferedRegionAdpater
- All Implemented Interfaces:
IBufferedRegion,ISavable
- Direct Known Subclasses:
BufferedAttribute,BufferedRegion,StringBufferedRegion
Base buffered region.
-
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.Returns the owner element.Returns the parent buffered region.booleanisString()Returns true if buffered region is a String and false otherwise.voidWrite the content of the buffer in the given writer.toString()
-
Constructor Details
-
BufferedRegionAdpater
-
-
Method Details
-
save
Description copied from interface:ISavableWrite the content of the buffer in the given writer.- Specified by:
savein interfaceISavable- Throws:
IOException
-
isString
public boolean isString()Description copied from interface:IBufferedRegionReturns true if buffered region is a String and false otherwise.- Specified by:
isStringin interfaceIBufferedRegion- Returns:
-
append
Description copied from interface:IBufferedRegionAppend the given content to the buffer.- Specified by:
appendin interfaceIBufferedRegion
-
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
-
append
public void append(char c) Description copied from interface:IBufferedRegionAppend the given content to the buffer.- Specified by:
appendin interfaceIBufferedRegion
-
addRegion
Description copied from interface:IBufferedRegionAdd a the given buffered region to the buffer.- Specified by:
addRegionin interfaceIBufferedRegion
-
getParent
Description copied from interface:IBufferedRegionReturns the parent buffered region.- Specified by:
getParentin interfaceIBufferedRegion- Returns:
-
getOwnerElement
Description copied from interface:ISavableReturns the owner element.- Specified by:
getOwnerElementin interfaceISavable- Returns:
-
toString
-