Class StaxSVGLoader
java.lang.Object
com.github.weisj.jsvg.parser.impl.StaxSVGLoader
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Loggerprivate static final @NotNull NodeSupplierprivate static final Stringprivate static final Stringprivate final @NotNull Supplier<@NotNull XMLInputFactory> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull XMLInputcreateXMLInput(@NotNull InputStream inputStream) @Nullable SVGDocumentload(@NotNull XMLInput xmlInput, @Nullable URI xmlBase, @NotNull LoaderContext loaderContext) (package private) @Nullable SVGDocumentBuilderparse(@NotNull XMLInput xmlInput, @Nullable URI xmlBase, @NotNull LoaderContext loaderContext) (package private) @Nullable SVGDocumentBuilderparse(@NotNull InputStream inputStream, @Nullable URI xmlBase, @NotNull LoaderContext loaderContext) private static @NotNull StringqualifiedName(@NotNull QName name) private static @NotNull StringqualifiedName(@NotNull QName name, StaxSVGLoader.MakeLowerCase makeLowerCase) private static @NotNull StringqualifiedNameImpl(@NotNull QName name) private static voidskipElement(@NotNull XMLEventReader reader)
-
Field Details
-
LOGGER
-
SVG_NAMESPACE_URI
- See Also:
-
XLINK_NAMESPACE_URI
- See Also:
-
NODE_SUPPLIER
-
xmlInputFactory
-
-
Constructor Details
-
StaxSVGLoader
public StaxSVGLoader()
-
-
Method Details
-
parse
@Nullable @Nullable SVGDocumentBuilder parse(@NotNull @NotNull InputStream inputStream, @Nullable @Nullable URI xmlBase, @NotNull @NotNull LoaderContext loaderContext) throws XMLStreamException - Throws:
XMLStreamException
-
parse
@Nullable @Nullable SVGDocumentBuilder parse(@NotNull @NotNull XMLInput xmlInput, @Nullable @Nullable URI xmlBase, @NotNull @NotNull LoaderContext loaderContext) throws XMLStreamException - Throws:
XMLStreamException
-
load
@Nullable public @Nullable SVGDocument load(@NotNull @NotNull XMLInput xmlInput, @Nullable @Nullable URI xmlBase, @NotNull @NotNull LoaderContext loaderContext) throws XMLStreamException - Throws:
XMLStreamException
-
skipElement
- Throws:
XMLStreamException
-
createXMLInput
-
qualifiedName
@NotNull private static @NotNull String qualifiedName(@NotNull @NotNull QName name, StaxSVGLoader.MakeLowerCase makeLowerCase) -
qualifiedName
-
qualifiedNameImpl
-