Class ReadXmlDocumentFromResource

  • All Implemented Interfaces:
    java.util.function.Function<URL,​Document>

    public class ReadXmlDocumentFromResource
    extends Object
    implements java.util.function.Function<URL,​Document>
    Return DOM document for given resource.
    Author:
    Jan Galinski, Holisticon AG
    • Field Detail

      • TO_STRING

        public static java.util.function.Function<Document,​String> TO_STRING
    • Constructor Detail

      • ReadXmlDocumentFromResource

        public ReadXmlDocumentFromResource()
    • Method Detail

      • apply

        public Document apply​(URL xmlResource)
        Specified by:
        apply in interface java.util.function.Function<URL,​Document>