|
|||||||||||
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
Implements WSDL reader behaviour for OM based parsing
Field Summary |
Fields inherited from class org.apache.woden.internal.BaseWSDLReader |
features |
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 |
Constructor Summary | |
OMWSDLReader()
|
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(java.lang.String wsdlURI,
ErrorHandler errorHandler)
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. |
Description |
readWSDL(WSDLSource wsdlSource,
ErrorHandler errorHandler)
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 |
Constructor Detail |
public OMWSDLReader() throws WSDLException
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 BaseWSDLReader
WSDLException
protected Schema parseSchemaInline(XMLElement schemaElement, DescriptionElement desc) throws WSDLException
parseSchemaInline
in class BaseWSDLReader
WSDLException
protected void parseExtensionAttributes(XMLElement domEl, java.lang.Class wsdlClass, WSDLElement wsdlObj, DescriptionElement desc) throws WSDLException
parseExtensionAttributes
in class BaseWSDLReader
WSDLException
public Description readWSDL(java.lang.String wsdlURI, ErrorHandler errorHandler) throws WSDLException
WSDLReader
wsdlURI
- a URI (absolute filename or URL) pointing to a
WSDL document.errorHandler
- An error handler that will handle reporting of errors and warnings.
WSDLException
- for terminating errors and as wrapper
for checked exceptions.public Description readWSDL(WSDLSource wsdlSource) throws WSDLException
WSDLReader
The 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 exceptionspublic Description readWSDL(WSDLSource wsdlSource, ErrorHandler errorHandler) throws WSDLException
WSDLReader
The 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 WSDLerrorHandler
- a custom error handler that overrides the default handler
WSDLException
- for terminating errors and as a wrapper
for checked exceptionsprotected DescriptionElement getWSDLFromLocation(java.lang.String locationURI, DescriptionElement desc, java.util.Map wsdlModules) throws WSDLException
getWSDLFromLocation
in class BaseWSDLReader
WSDLException
public 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 BaseWSDLReader
WSDLException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |