org.thewonderlemming.c4plantuml.graphml.validation

## Class CustomResourceResolver

- java.lang.Object
- - org.thewonderlemming.c4plantuml.graphml.validation.CustomResourceResolver

- All Implemented Interfaces:
    LSResourceResolver

      public class CustomResourceResolver
      extends Object
      implements LSResourceResolver

  A DOM `LSResourceResolver` implementation to avoid having external calls to retrieve GraphML related XSD files.
  Author:
    thewonderlemming

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CustomResourceResolver()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `LSInput` | `resolveResource(String type, String namespaceURI, String publicId, String systemId, String baseURI)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### CustomResourceResolver

          public CustomResourceResolver()

  - ### Method Detail

    - #### resolveResource

          public LSInput resolveResource(String type,
                                         String namespaceURI,
                                         String publicId,
                                         String systemId,
                                         String baseURI)

      Returns a `CustomLSInput` with the managed `GraphMLXsd` if found, or null, else.

      Specified by:
        `resolveResource` in interface `LSResourceResolver`

Copyright © 2020. All rights reserved.