Package com.sun.xml.ws.test.client
Class ReferencedXmlResource
- java.lang.Object
-
- com.sun.xml.ws.test.client.AbstractXmlResource
-
- com.sun.xml.ws.test.client.ReferencedXmlResource
-
- All Implemented Interfaces:
XmlResource
public class ReferencedXmlResource extends AbstractXmlResource
Resource XML defined as a reference.- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description ReferencedXmlResource(File xml)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StreamSourceasStreamSource()Returns this XML as aStreamSource.StringasString()Returns this XML as a String literal.-
Methods inherited from class com.sun.xml.ws.test.client.AbstractXmlResource
asSOAP11Message
-
-
-
-
Constructor Detail
-
ReferencedXmlResource
public ReferencedXmlResource(File xml)
-
-
Method Detail
-
asString
public String asString() throws Exception
Description copied from interface:XmlResourceReturns this XML as a String literal.- Throws:
Exception
-
asStreamSource
public StreamSource asStreamSource() throws Exception
Description copied from interface:XmlResourceReturns this XML as aStreamSource.- Specified by:
asStreamSourcein interfaceXmlResource- Overrides:
asStreamSourcein classAbstractXmlResource- Throws:
Exception
-
-