Package com.github.weisj.jsvg.parser
Class SVGDocumentBuilder
java.lang.Object
com.github.weisj.jsvg.parser.SVGDocumentBuilder
-
Constructor Summary
ConstructorsConstructorDescriptionSVGDocumentBuilder(@NotNull ParserProvider parserProvider, @NotNull ResourceLoader resourceLoader, @NotNull NodeSupplier nodeSupplier) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTextContent(char @NotNull [] characterData, int startOffset, int endOffset) @NotNull SVGDocumentbuild()voidvoidendElement(@NotNull String tagName) voidbooleanstartElement(@NotNull String tagName, @NotNull Map<String, String> attributes)
-
Constructor Details
-
SVGDocumentBuilder
public SVGDocumentBuilder(@NotNull @NotNull ParserProvider parserProvider, @NotNull @NotNull ResourceLoader resourceLoader, @NotNull @NotNull NodeSupplier nodeSupplier)
-
-
Method Details
-
startDocument
public void startDocument() -
endDocument
public void endDocument() -
startElement
-
addTextContent
public void addTextContent(char @NotNull [] characterData, int startOffset, int endOffset) -
endElement
-
build
-