|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--org.xml.sax.helpers.DefaultHandler
|
+--org.apache.batik.dom.util.SAXDocumentFactory
|
+--org.apache.batik.dom.svg.SAXSVGDocumentFactory
|
+--org.apache.cocoon.xml.dom.SVGBuilder
The SVGBuilder is a utility class that will generate a
SVG-DOM Document from SAX events using Batik's SVGDocumentFactory.
| Field Summary | |
protected org.apache.log.Logger |
log
|
| Fields inherited from class org.apache.batik.dom.svg.SAXSVGDocumentFactory |
dtdids, DTDIDS, HTTP_CHARSET |
| Fields inherited from class org.apache.batik.dom.util.SAXDocumentFactory |
createDocumentDescriptor, currentNode, document, documentDescriptor, documentElementParsed, errorHandler, implementation, inCDATA, inDTD, isValidating, locator, namespaces, parserClassName |
| Constructor Summary | |
protected |
SVGBuilder()
Construct a new instance of this TreeGenerator. |
| Method Summary | |
void |
endDocument()
Receive notification of the beginning of a document. |
org.w3c.dom.Document |
getDocument()
Return the newly built Document. |
protected void |
notify(org.w3c.dom.Document doc)
Receive notification of a successfully completed DOM tree generation. |
void |
setLogger(org.apache.log.Logger logger)
Provide component with a logger. |
void |
startDocument()
Receive notification of the beginning of a document. |
| Methods inherited from class org.apache.batik.dom.svg.SAXSVGDocumentFactory |
createDocument, createDocument, createDocument, createDocument, createDocument, createDocument, resolveEntity |
| Methods inherited from class org.apache.batik.dom.util.SAXDocumentFactory |
characters, comment, createDocument, endCDATA, endDTD, endElement, endEntity, error, getDocumentDescriptor, isValidating, processingInstruction, setDocumentLocator, setErrorHandler, setValidating, startCDATA, startDTD, startElement, startEntity, warning |
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endPrefixMapping, fatalError, ignorableWhitespace, notationDecl, skippedEntity, startPrefixMapping, unparsedEntityDecl |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.xml.sax.ContentHandler |
characters, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startElement, startPrefixMapping |
| Methods inherited from interface org.xml.sax.ext.LexicalHandler |
comment, endCDATA, endDTD, endEntity, startCDATA, startDTD, startEntity |
| Methods inherited from interface org.apache.batik.dom.util.DocumentFactory |
getDocumentDescriptor, isValidating, setValidating |
| Field Detail |
protected org.apache.log.Logger log
| Constructor Detail |
protected SVGBuilder()
| Method Detail |
public void setLogger(org.apache.log.Logger logger)
setLogger in interface org.apache.avalon.framework.logger.Loggablelogger - the loggerpublic org.w3c.dom.Document getDocument()
public void startDocument()
throws org.xml.sax.SAXException
startDocument in interface org.xml.sax.ContentHandlerstartDocument in class org.apache.batik.dom.svg.SAXSVGDocumentFactoryorg.xml.sax.SAXException - If this method was not called appropriately.
public void endDocument()
throws org.xml.sax.SAXException
endDocument in interface org.xml.sax.ContentHandlerendDocument in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXException - If this method was not called appropriately.
protected void notify(org.w3c.dom.Document doc)
throws org.xml.sax.SAXException
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||