Class OriginImpl

    • Constructor Detail

      • OriginImpl

        public OriginImpl​(String type,
                          String name)
    • Method Detail

      • getType

        public String getType()
        Description copied from interface: Origin
        Retrieve the type of origin. This is not a discrete set, but might be something like file for file protocol URLs, or resource for classpath resource lookups.
        Specified by:
        getType in interface Origin
        Returns:
        The origin type.
      • getName

        public String getName()
        Description copied from interface: Origin
        The name of the document origin. Interpretation is relative to the type, but might be the resource name or file URL.
        Specified by:
        getName in interface Origin
        Returns:
        The name.