kitfox-svg-core
1.0.0-build001 / 2012-04-07T15:40:49.711-0500

com.kitfox.svg
Class SVGLoader

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by com.kitfox.svg.SVGLoader
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class SVGLoader
extends org.xml.sax.helpers.DefaultHandler

Author:
Mark McKay, Mark McKay

Constructor Summary
SVGLoader(URI xmlBase, SVGUniverse universe)
          Creates a new instance of SVGLoader
SVGLoader(URI xmlBase, SVGUniverse universe, boolean verbose)
           
 
Method Summary
 void characters(char[] buf, int offset, int len)
           
 void endDocument()
           
 void endElement(String namespaceURI, String sName, String qName)
           
 SVGDiagram getLoadedDiagram()
           
 void processingInstruction(String target, String data)
           
 void startDocument()
           
 void startElement(String namespaceURI, String sName, String qName, Attributes attrs)
           
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SVGLoader

public SVGLoader(URI xmlBase,
                 SVGUniverse universe)
Creates a new instance of SVGLoader


SVGLoader

public SVGLoader(URI xmlBase,
                 SVGUniverse universe,
                 boolean verbose)
Method Detail

startDocument

public void startDocument()
                   throws SAXException
Specified by:
startDocument in interface ContentHandler
Overrides:
startDocument in class org.xml.sax.helpers.DefaultHandler
Throws:
SAXException

endDocument

public void endDocument()
                 throws SAXException
Specified by:
endDocument in interface ContentHandler
Overrides:
endDocument in class org.xml.sax.helpers.DefaultHandler
Throws:
SAXException

startElement

public void startElement(String namespaceURI,
                         String sName,
                         String qName,
                         Attributes attrs)
                  throws SAXException
Specified by:
startElement in interface ContentHandler
Overrides:
startElement in class org.xml.sax.helpers.DefaultHandler
Throws:
SAXException

endElement

public void endElement(String namespaceURI,
                       String sName,
                       String qName)
                throws SAXException
Specified by:
endElement in interface ContentHandler
Overrides:
endElement in class org.xml.sax.helpers.DefaultHandler
Throws:
SAXException

characters

public void characters(char[] buf,
                       int offset,
                       int len)
                throws SAXException
Specified by:
characters in interface ContentHandler
Overrides:
characters in class org.xml.sax.helpers.DefaultHandler
Throws:
SAXException

processingInstruction

public void processingInstruction(String target,
                                  String data)
                           throws SAXException
Specified by:
processingInstruction in interface ContentHandler
Overrides:
processingInstruction in class org.xml.sax.helpers.DefaultHandler
Throws:
SAXException

getLoadedDiagram

public SVGDiagram getLoadedDiagram()

kitfox-svg-core
1.0.0-build001 / 2012-04-07T15:40:49.711-0500

Copyright © 2011-2012 Barchart, Inc.. All Rights Reserved.