fr.opensagres.xdocreport.template.textstyling
Class AbstractDocumentHandler

java.lang.Object
  extended by fr.opensagres.xdocreport.template.textstyling.AbstractDocumentHandler
All Implemented Interfaces:
IDocumentHandler

public abstract class AbstractDocumentHandler
extends Object
implements IDocumentHandler

Abstract class for document handler IDocumentHandler.


Field Summary
protected  StringWriter writer
           
 
Constructor Summary
AbstractDocumentHandler()
           
 
Method Summary
protected  void doEndOrderedList()
           
protected  void doEndUnorderedList()
           
protected  void doStartOrderedList()
           
protected  void doStartUnorderedList()
           
 void endOrderedList()
          End ordered list.
 void endUnorderedList()
          End unordered list.
protected  int getCurrentListIndex()
           
protected  boolean getCurrentListOrder()
           
 void handleString(String s)
          Text content.
 void startOrderedList()
          Start ordered list.
 void startUnorderedList()
          Start unordered list.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface fr.opensagres.xdocreport.template.textstyling.IDocumentHandler
endBold, endDocument, endItalics, endListItem, endParagraph, startBold, startDocument, startItalics, startListItem, startParagraph
 

Field Detail

writer

protected final StringWriter writer
Constructor Detail

AbstractDocumentHandler

public AbstractDocumentHandler()
Method Detail

handleString

public void handleString(String s)
Description copied from interface: IDocumentHandler
Text content.

Specified by:
handleString in interface IDocumentHandler

toString

public String toString()
Overrides:
toString in class Object

startOrderedList

public final void startOrderedList()
Description copied from interface: IDocumentHandler
Start ordered list.

Specified by:
startOrderedList in interface IDocumentHandler

endOrderedList

public final void endOrderedList()
Description copied from interface: IDocumentHandler
End ordered list.

Specified by:
endOrderedList in interface IDocumentHandler

startUnorderedList

public final void startUnorderedList()
Description copied from interface: IDocumentHandler
Start unordered list.

Specified by:
startUnorderedList in interface IDocumentHandler

endUnorderedList

public final void endUnorderedList()
Description copied from interface: IDocumentHandler
End unordered list.

Specified by:
endUnorderedList in interface IDocumentHandler

getCurrentListOrder

protected boolean getCurrentListOrder()

getCurrentListIndex

protected int getCurrentListIndex()

doEndUnorderedList

protected void doEndUnorderedList()

doEndOrderedList

protected void doEndOrderedList()

doStartUnorderedList

protected void doStartUnorderedList()

doStartOrderedList

protected void doStartOrderedList()


Copyright © 2011. All Rights Reserved.