| com.sun.xml.ws.api.server.SDDocument
All known Subclasses: com.sun.xml.ws.server.SDDocumentImpl,
SDDocument | public interface SDDocument (Code) | | Represents an individual document that forms a
ServiceDefinition .
TODO:
how does those documents refer to each other?
author: Jitendra Kotamraju |
getRootName | QName getRootName()(Code) | | Gets the root tag name of this document.
This can be used to identify a kind of document quickly
(such as schema, WSDL, ...)
always non-null. |
getURL | URL getURL()(Code) | | Gets the system ID of the document where it's taken from. Generated documents
use a fake URL that can be used to resolve relative URLs. So donot use this URL
for reading or writing.
|
isSchema | boolean isSchema()(Code) | | Returns true if this document is schema.
|
isWSDL | boolean isWSDL()(Code) | | Returns true if this document is WSDL.
|
writeTo | void writeTo(PortAddressResolver portAddressResolver, DocumentAddressResolver resolver, OutputStream os) throws IOException(Code) | | Writes the document to the given
OutputStream .
Since
ServiceDefinition doesn't know which endpoint address
Adapter is serving to, (and often it serves multiple URLs
simultaneously), this method takes the PortAddressResolver as a parameter,
so that it can produce the corret address information in the generated WSDL.
Parameters: portAddressResolver - An endpoint address resolver that gives endpoint address for a WSDLport. Can be null. Parameters: resolver - Used to resolve relative references among documents. Parameters: os - The OutputStream that receives the generated document. throws: IOException - if there was a failure reported from the OutputStream. |
|
|