| org.apache.cocoon.generation.AbstractGenerator org.apache.cocoon.generation.asciiart.AsciiArtSVGGenerator
DEFAULT_X_GRID | final static int DEFAULT_X_GRID(Code) | | |
DEFAULT_Y_GRID | final static int DEFAULT_Y_GRID(Code) | | |
inputSource | protected Source inputSource(Code) | | The input source
|
addAttribute | protected void addAttribute(String nodeName, String nodeValue)(Code) | | Adds a feature to the Attribute attribute of the MailXMLSerializer
object
Parameters: nodeName - name of the attriute's name Parameters: nodeValue - value of the attribute |
characters | protected void characters(String s) throws SAXException(Code) | | SAX character helper
Parameters: s - Description of the Parameter throws: SAXException - iff SAX generation fails |
endElement | protected void endElement(String nodeName) throws SAXException(Code) | | SAX endElement helper
Parameters: nodeName - name of the element's name throws: SAXException - iff SAX generation fails |
generateSVGLineElements | protected void generateSVGLineElements() throws SAXException(Code) | | Generate SVG path elements.
The SVG path elements are generated from ascii art lines.
throws: SAXException - iff SAX generation fails. |
generateSVGTextElements | protected void generateSVGTextElements() throws SAXException(Code) | | Generate SVG text elements.
The SVG text elements are generated from ascii art string.
throws: SAXException - iff SAX generation fails. |
getKey | public java.io.Serializable getKey()(Code) | | Generate the unique key.
This key must be unique inside the space of this component.
The generated key hashes the src |
getValidity | public SourceValidity getValidity()(Code) | | Generate the validity object.
The generated validity object or null if thecomponent is currently not cacheable. |
readAsciiArt | protected String[] readAsciiArt() throws IOException(Code) | | Read the ascii art from the input source.
String[] describing the ascii art exception: IOException - reading the ascii art fails |
recycle | public void recycle()(Code) | | Recycle this component.
All instance variables are set to null .
|
startElement | protected void startElement(String nodeName, Attributes attributes) throws SAXException(Code) | | SAX startElement helper
Parameters: nodeName - name of the element's name Parameters: attributes - of the node throws: SAXException - iff SAX generation fails |
|
|