|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tuscany.sca.interfacedef.wsdl.xml.WSDLDocumentProcessor
public class WSDLDocumentProcessor
An ArtifactProcessor for WSDL documents.
Field Summary | |
---|---|
static javax.xml.namespace.QName |
WSDL11
|
static javax.xml.namespace.QName |
WSDL11_IMPORT
|
static javax.xml.namespace.QName |
XSD
|
Constructor Summary | |
---|---|
WSDLDocumentProcessor(ModelFactoryExtensionPoint modelFactories,
Monitor monitor)
|
Method Summary | |
---|---|
java.lang.String |
getArtifactType()
Returns the type of artifact handled by this artifact processor. |
java.lang.Class<WSDLDefinition> |
getModelType()
Returns the type of model handled by this artifact processor. |
protected WSDLDefinition |
indexRead(java.net.URL doc)
Read the namespace for the WSDL definition and inline schemas |
WSDLDefinition |
read(java.net.URL contributionURL,
java.net.URI artifactURI,
java.net.URL artifactURL)
Reads a model from a URL. |
void |
resolve(WSDLDefinition model,
ModelResolver resolver)
Resolve references from this model to other models. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final javax.xml.namespace.QName WSDL11
public static final javax.xml.namespace.QName WSDL11_IMPORT
public static final javax.xml.namespace.QName XSD
Constructor Detail |
---|
public WSDLDocumentProcessor(ModelFactoryExtensionPoint modelFactories, Monitor monitor)
Method Detail |
---|
public WSDLDefinition read(java.net.URL contributionURL, java.net.URI artifactURI, java.net.URL artifactURL) throws ContributionReadException
URLArtifactProcessor
read
in interface URLArtifactProcessor<WSDLDefinition>
contributionURL
- Contribution location URLartifactURI
- Artifact URIartifactURL
- Artifact location URL
ContributionReadException
public void resolve(WSDLDefinition model, ModelResolver resolver) throws ContributionResolveException
ArtifactProcessor
resolve
in interface ArtifactProcessor<WSDLDefinition>
model
- The model to resolveresolver
- The resolver to use to resolve referenced models
ContributionResolveException
public java.lang.String getArtifactType()
URLArtifactProcessor
getArtifactType
in interface URLArtifactProcessor<WSDLDefinition>
public java.lang.Class<WSDLDefinition> getModelType()
ArtifactProcessor
getModelType
in interface ArtifactProcessor<WSDLDefinition>
protected WSDLDefinition indexRead(java.net.URL doc) throws java.lang.Exception
doc
-
java.io.IOException
javax.xml.stream.XMLStreamException
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |