Package com.github.weisj.jsvg.parser
Class StaxSVGLoader
java.lang.Object
com.github.weisj.jsvg.parser.StaxSVGLoader
-
Constructor Summary
ConstructorsConstructorDescriptionStaxSVGLoader(@NotNull NodeSupplier nodeSupplier) StaxSVGLoader(@NotNull NodeSupplier nodeSupplier, @NotNull XMLInputFactory factory) -
Method Summary
Modifier and TypeMethodDescription@Nullable SVGDocumentload(@Nullable InputStream inputStream, @NotNull ParserProvider parserProvider, @NotNull ResourceLoader resourceLoader)
-
Constructor Details
-
StaxSVGLoader
-
StaxSVGLoader
public StaxSVGLoader(@NotNull @NotNull NodeSupplier nodeSupplier, @NotNull @NotNull XMLInputFactory factory)
-
-
Method Details
-
load
@Nullable public @Nullable SVGDocument load(@Nullable @Nullable InputStream inputStream, @NotNull @NotNull ParserProvider parserProvider, @NotNull @NotNull ResourceLoader resourceLoader) throws IOException, XMLStreamException - Throws:
IOExceptionXMLStreamException
-