|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object fr.opensagres.xdocreport.document.preprocessor.sax.BufferedRegionAdpater fr.opensagres.xdocreport.document.preprocessor.sax.BufferedRegion
public class BufferedRegion
Buffered region.
Field Summary | |
---|---|
protected List<ISavable> |
regions
|
Constructor Summary | |
---|---|
BufferedRegion(BufferedElement ownerElement,
IBufferedRegion parent)
|
Method Summary | |
---|---|
void |
addRegion(ISavable region)
Add a the given buffered region to the buffer. |
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. |
boolean |
isString()
Returns true if buffered region is a String and false otherwise. |
void |
reset()
|
void |
save(Writer writer)
Write the content of the buffer in the given writer. |
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 |
Field Detail |
---|
protected final List<ISavable> regions
Constructor Detail |
---|
public BufferedRegion(BufferedElement ownerElement, IBufferedRegion parent)
Method Detail |
---|
public void save(Writer writer) throws IOException
ISavable
save
in interface ISavable
save
in class BufferedRegionAdpater
IOException
public void addRegion(ISavable region)
IBufferedRegion
addRegion
in interface IBufferedRegion
addRegion
in class BufferedRegionAdpater
public void append(String content)
IBufferedRegion
append
in interface IBufferedRegion
append
in class BufferedRegionAdpater
public void append(char c)
IBufferedRegion
append
in interface IBufferedRegion
append
in class BufferedRegionAdpater
public boolean isString()
IBufferedRegion
isString
in interface IBufferedRegion
isString
in class BufferedRegionAdpater
public void append(char[] ch, int start, int length)
IBufferedRegion
append
in interface IBufferedRegion
append
in class BufferedRegionAdpater
public void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |