| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--oracle.wsdl.WSDLDocument
WSDLDocument represents a WSDL document as an object model, and can be used to read, write and validate a WSDL document.
| Field Summary | |
static int | 
VALIDATE_EXTENSIONS
Validation Mode: validate WSDL extensibility elements  | 
static int | 
VALIDATE_REFERENCES
Validation Mode: validate WSDL QName references  | 
| Constructor Summary | |
WSDLDocument(Definitions definitions)
Initialize with a Definitions element  | 
|
WSDLDocument(java.io.Reader reader)
Initialize with a reader for WSDL document  | 
|
WSDLDocument(java.lang.String wsdlDoc)
Initialize with a WSDL document content  | 
|
WSDLDocument(java.net.URL url)
Initialize with a WSDL document URL  | 
|
| Method Summary | |
 Definitions | 
getDefinitions()
Get the top-level Definitions element of this WSDL document  | 
 java.lang.String | 
getSOAPNamespaceURI()
Get SOAP namespaceURI  | 
 java.lang.String | 
getWSDLNamespaceURI()
Get WSDL namespaceURI  | 
 void | 
setSOAPNamespaceURI(java.lang.String namespaceURI)
Set SOAP namespaceURI  | 
 void | 
setWSDLNamespaceURI(java.lang.String namespaceURI)
Set WSDL namespaceURI  | 
 void | 
validate()
Validate this WSDL document including qname references and extensions.  | 
 void | 
validate(int validationMode)
Validate this WSDL document.  | 
 void | 
write(java.io.PrintWriter writer)
Write this WSDL document.  | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
public static final int VALIDATE_REFERENCES
public static final int VALIDATE_EXTENSIONS
| Constructor Detail | 
public WSDLDocument(java.io.Reader reader)
reader - WSDL document readerpublic WSDLDocument(java.net.URL url)
url - the wsdl document URLpublic WSDLDocument(java.lang.String wsdlDoc)
wsdlDoc - the content of WSDL documentpublic WSDLDocument(Definitions definitions)
definitions - the definitions element| Method Detail | 
public Definitions getDefinitions()
                           throws WSDLException
public void write(java.io.PrintWriter writer)
           throws WSDLException,
                  java.io.IOException
      Definition importedDef = ...
      WSDLDocument doc = new WSDLDocument(importedDef);
      doc.write(writer);
 public java.lang.String getWSDLNamespaceURI()
public void setWSDLNamespaceURI(java.lang.String namespaceURI)
namespaceURI - the namespaceURI to setpublic java.lang.String getSOAPNamespaceURI()
public void setSOAPNamespaceURI(java.lang.String namespaceURI)
namespaceURI - SOAP namespaceURI to set
public void validate()
              throws WSDLException
WSDLExcepton - this wsdl document is not valid
public void validate(int validationMode)
              throws WSDLException
validationMode - can be VALIDATE_REFERENCES or VALIDATE_EXTENSIONSWSDLExcepton - this wsdl document is not valid
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||