Class ParsedDocument
java.lang.Object
com.github.weisj.jsvg.parser.impl.ParsedDocument
- All Implemented Interfaces:
DomDocument
-
Constructor Summary
ConstructorsConstructorDescriptionParsedDocument(@Nullable URI rootURI, @NotNull LoaderContext loaderContext, @NotNull LoadHelper loadHelper) -
Method Summary
Modifier and TypeMethodDescription@NotNull AnimationPeriod<T> TgetElementById(@NotNull Class<T> type, @Nullable String id) booleanhasElementWithId(@NotNull String id) @NotNull LoaderContext@NotNull LoadHelpervoidregisterAnimatedElement(@NotNull BaseAnimationNode animate) voidregisterNamedElement(@NotNull String name, @Nullable Object element) @Nullable URIrootURI()
-
Constructor Details
-
ParsedDocument
public ParsedDocument(@Nullable @Nullable URI rootURI, @NotNull @NotNull LoaderContext loaderContext, @NotNull @NotNull LoadHelper loadHelper)
-
-
Method Details
-
loaderContext
- Specified by:
loaderContextin interfaceDomDocument
-
loadHelper
-
registerNamedElement
- Specified by:
registerNamedElementin interfaceDomDocument
-
getElementById
@Nullable public <T> T getElementById(@NotNull @NotNull Class<T> type, @Nullable @Nullable String id) - Specified by:
getElementByIdin interfaceDomDocument
-
hasElementWithId
-
rootURI
- Specified by:
rootURIin interfaceDomDocument
-
animationPeriod
-
registerAnimatedElement
-