Class ParsedDocument

java.lang.Object
com.github.weisj.jsvg.parser.ParsedDocument

public class ParsedDocument extends Object
  • Field Details

    • namedElements

      private final Map<String,Object> namedElements
    • rootURI

      @Nullable private final @Nullable URI rootURI
    • loaderContext

      @NotNull private final @NotNull LoaderContext loaderContext
  • Constructor Details

    • ParsedDocument

      public ParsedDocument(@Nullable @Nullable URI rootURI, @NotNull @NotNull LoaderContext loaderContext)
  • Method Details

    • loaderContext

      @NotNull public @NotNull LoaderContext loaderContext()
    • registerNamedElement

      public void registerNamedElement(@NotNull @NotNull String name, @Nullable @Nullable Object element)
    • getElementById

      @Nullable public <T> T getElementById(@NotNull @NotNull Class<T> type, @Nullable @Nullable String id)
    • hasElementWithId

      public boolean hasElementWithId(@NotNull @NotNull String id)
    • rootURI

      @Nullable public @Nullable URI rootURI()