| java.lang.Object org.acm.seguin.print.xml.State org.acm.seguin.print.xml.TextState
TextState | public class TextState extends State (Code) | | State pattern that is used to print the XML file
author: Chris Seguin |
getFont | public Font getFont()(Code) | | Gets the Font attribute of the State object
The Font value |
getState | public static State getState()(Code) | | Gets the State attribute of the TextState class
The State value |
processLine | protected State processLine(String line, int index, StringBuffer buf)(Code) | | The actual worker method that processes the line. This is what is defined
by the various states
Parameters: line - the line Parameters: index - the index of the character Parameters: buf - the buffer the state at the end of the line |
|
|