public class SVGParser extends SAXParser<javafx.scene.Group,SVGDocumentDataProvider,SVGElementFactory,SVGElementBase<?>> implements EntityResolver
statePropertySAXParser.State| Constructor and Description |
|---|
SVGParser()
Creates a new instance of the parser and uses the given elementCreator.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureReader(XMLReader reader)
Allows to configure the reader that will be used to parse the file.
|
protected void |
enteringDocument()
This method will be called as soon as the parsing of the document has started.
|
protected javafx.scene.Group |
leavingDocument(SVGElementBase<?> element)
This method will be called as soon as the parsing of the document has been finished.
|
characters, clear, endDocument, endElement, getAttemptedParses, getResult, getState, getSuccessfulParses, isBusy, parse, parse, parse, resolveEntity, startDocument, startElement, statePropertyendPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warningclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitresolveEntitypublic SVGParser()
protected void configureReader(XMLReader reader) throws SAXException
SAXParserconfigureReader in class SAXParser<javafx.scene.Group,SVGDocumentDataProvider,SVGElementFactory,SVGElementBase<?>>reader - the XMLReader that is being used.SAXException - when an error occurs during the configuration.protected void enteringDocument()
SAXParserenteringDocument in class SAXParser<javafx.scene.Group,SVGDocumentDataProvider,SVGElementFactory,SVGElementBase<?>>protected javafx.scene.Group leavingDocument(SVGElementBase<?> element) throws SAXException
SAXParserleavingDocument in class SAXParser<javafx.scene.Group,SVGDocumentDataProvider,SVGElementFactory,SVGElementBase<?>>element - the element that is the first element in the structure of the file.SAXParser.enteringDocument().SAXException - when an error occurs.Copyright © 2017 Saxonia Systems AG. All rights reserved.