public class SVGLoader extends DefaultHandler
Constructor and Description |
---|
SVGLoader(URI xmlBase,
SVGUniverse universe)
Creates a new instance of SVGLoader
|
SVGLoader(URI xmlBase,
SVGUniverse universe,
boolean verbose) |
Modifier and Type | Method and Description |
---|---|
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) |
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning
public SVGLoader(URI xmlBase, SVGUniverse universe)
xmlBase
- universe
- public SVGLoader(URI xmlBase, SVGUniverse universe, boolean verbose)
public void startDocument() throws SAXException
startDocument
in interface ContentHandler
startDocument
in class DefaultHandler
SAXException
public void endDocument() throws SAXException
endDocument
in interface ContentHandler
endDocument
in class DefaultHandler
SAXException
public void startElement(String namespaceURI, String sName, String qName, Attributes attrs) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
SAXException
public void endElement(String namespaceURI, String sName, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class DefaultHandler
SAXException
public void characters(char[] buf, int offset, int len) throws SAXException
characters
in interface ContentHandler
characters
in class DefaultHandler
SAXException
public void processingInstruction(String target, String data) throws SAXException
processingInstruction
in interface ContentHandler
processingInstruction
in class DefaultHandler
SAXException
public SVGDiagram getLoadedDiagram()
Copyright © 2011-2019 Kitfox Studios. All Rights Reserved.