|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.woden.internal.BaseWSDLReader
org.apache.woden.internal.OMWSDLReader
public class OMWSDLReader
Implements WSDL reader behaviour for OM based parsing
| Field Summary |
|---|
| Fields inherited from class org.apache.woden.internal.BaseWSDLReader |
|---|
features, fWsdlContext |
| Fields inherited from interface org.apache.woden.WSDLReader |
|---|
FEATURE_CONTINUE_ON_ERROR, FEATURE_VALIDATION, FEATURE_VERBOSE, PROPERTY_TYPE_SYSTEM_API, PROPERTY_XML_PARSER_API, TYPE_XSD_2001 |
| Method Summary | |
|---|---|
WSDLSource |
createWSDLSource()
Returns a WSDLSource object that is compatible with the WSDLReader implementation. |
protected XMLElement |
createXMLElement(java.lang.Object elem)
Returns an XMLElement object representing the specified element object. |
protected DescriptionElement |
getWSDLFromLocation(java.lang.String locationURI,
DescriptionElement desc,
java.util.Map wsdlModules)
|
protected void |
parseExtensionAttributes(XMLElement domEl,
java.lang.Class wsdlClass,
WSDLElement wsdlObj,
DescriptionElement desc)
|
protected void |
parseNamespaceDeclarations(XMLElement xmlElem,
WSDLElement wsdlElem)
|
protected Schema |
parseSchemaImport(XMLElement importEl,
DescriptionElement desc)
|
protected Schema |
parseSchemaInline(XMLElement schemaElement,
DescriptionElement desc)
|
Description |
readWSDL(java.lang.String wsdlURI)
Read the WSDL document at the specified URI and return a WSDL Description component containing the WSDL components derived from that document. |
Description |
readWSDL(WSDLSource wsdlSource)
Read the WSDL obtained from the specified WSDLSource object and return a WSDL Description component containing the WSDL components derived from that WSDL source. |
| Methods inherited from class org.apache.woden.internal.BaseWSDLReader |
|---|
getErrorReporter, getExtensionRegistry, getFactory, getFactoryImplName, getFeature, getProperty, getURI, getURIResolver, parseDescription, parseDocumentation, parseExtensionElement, parseSchemaForXMLSchema, resolveURI, resolveURI, setExtensionRegistry, setFactoryImplName, setFeature, setProperty, setURIResolver |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public Description readWSDL(java.lang.String wsdlURI)
throws WSDLException
WSDLReader
wsdlURI - a URI (absolute filename or URL) pointing to a
WSDL document.
WSDLException - for terminating errors and as wrapper
for checked exceptions.
protected Schema parseSchemaImport(XMLElement importEl,
DescriptionElement desc)
throws WSDLException
parseSchemaImport in class BaseWSDLReaderWSDLException
protected Schema parseSchemaInline(XMLElement schemaElement,
DescriptionElement desc)
throws WSDLException
parseSchemaInline in class BaseWSDLReaderWSDLException
protected void parseExtensionAttributes(XMLElement domEl,
java.lang.Class wsdlClass,
WSDLElement wsdlObj,
DescriptionElement desc)
throws WSDLException
parseExtensionAttributes in class BaseWSDLReaderWSDLException
public Description readWSDL(WSDLSource wsdlSource)
throws WSDLException
WSDLReaderThe WSDLSource object must represent the WSDL using a type that the WSDLReader implementation can understand. That is, the WSDLSource and WSDLReader implementations must be compatible. For example, a DOM-based WSDLReader implementation will likely require the WSDLSource object to represent the WSDL as a DOM Document or Element (org.w3c.dom.Document or org.w3c.dom.Element), both of which should be type compatible the DOM-based reader.
wsdlSource - contains an object representing the WSDL
WSDLException - for terminating errors and as a wrapper
for checked exceptions
protected DescriptionElement getWSDLFromLocation(java.lang.String locationURI,
DescriptionElement desc,
java.util.Map wsdlModules)
throws WSDLException
getWSDLFromLocation in class BaseWSDLReaderWSDLExceptionpublic WSDLSource createWSDLSource()
WSDLReader
This WSDLSource object can be used to encapsulate the WSDL and is then passed to the
WSDLReader as a parameter to its readWSDL methods.
protected XMLElement createXMLElement(java.lang.Object elem)
BaseWSDLReader
createXMLElement in class BaseWSDLReader
protected void parseNamespaceDeclarations(XMLElement xmlElem,
WSDLElement wsdlElem)
throws WSDLException
parseNamespaceDeclarations in class BaseWSDLReaderWSDLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||