Package com.sun.xml.ws.test.client
Class AbstractXmlResource
- java.lang.Object
-
- com.sun.xml.ws.test.client.AbstractXmlResource
-
- All Implemented Interfaces:
XmlResource
- Direct Known Subclasses:
InlineXmlResource,ReferencedXmlResource
public abstract class AbstractXmlResource extends Object implements XmlResource
Partial default implementation.- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description AbstractXmlResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectasSOAP11Message()Reads it as SAAJ SOAPMessage in SOAP 1.1 and return it.StreamSourceasStreamSource()Returns this XML as aStreamSource.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.sun.xml.ws.test.client.XmlResource
asString
-
-
-
-
Method Detail
-
asStreamSource
public StreamSource asStreamSource() throws Exception
Description copied from interface:XmlResourceReturns this XML as aStreamSource.- Specified by:
asStreamSourcein interfaceXmlResource- Throws:
Exception
-
asSOAP11Message
public Object asSOAP11Message() throws Exception
Description copied from interface:XmlResourceReads it as SAAJ SOAPMessage in SOAP 1.1 and return it.- Specified by:
asSOAP11Messagein interfaceXmlResource- Throws:
Exception
-
-