Class ReferencedXmlResource

  • All Implemented Interfaces:
    XmlResource

    public class ReferencedXmlResource
    extends AbstractXmlResource
    Resource XML defined as a reference.
    Author:
    Kohsuke Kawaguchi
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.xml.transform.stream.StreamSource asStreamSource()
      Returns this XML as a StreamSource.
      java.lang.String asString()
      Returns this XML as a String literal.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ReferencedXmlResource

        public ReferencedXmlResource​(java.io.File xml)
    • Method Detail

      • asString

        public java.lang.String asString()
                                  throws java.lang.Exception
        Description copied from interface: XmlResource
        Returns this XML as a String literal.
        Throws:
        java.lang.Exception