|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tuscany.sca.xsd.xml.XSDDocumentProcessor
public class XSDDocumentProcessor
An ArtifactProcessor for XSD documents.
Field Summary | |
---|---|
static javax.xml.namespace.QName |
XSD
|
Constructor Summary | |
---|---|
XSDDocumentProcessor(ModelFactoryExtensionPoint modelFactories,
Monitor monitor)
|
Method Summary | |
---|---|
java.lang.String |
getArtifactType()
Returns the type of artifact handled by this artifact processor. |
java.lang.Class<XSDefinition> |
getModelType()
Returns the type of model handled by this artifact processor. |
protected XSDefinition |
indexRead(java.net.URL doc)
|
XSDefinition |
read(java.net.URL contributionURL,
java.net.URI artifactURI,
java.net.URL artifactURL)
Reads a model from a URL. |
void |
resolve(XSDefinition 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 XSD
Constructor Detail |
---|
public XSDDocumentProcessor(ModelFactoryExtensionPoint modelFactories, Monitor monitor)
Method Detail |
---|
public XSDefinition read(java.net.URL contributionURL, java.net.URI artifactURI, java.net.URL artifactURL) throws ContributionReadException
URLArtifactProcessor
read
in interface URLArtifactProcessor<XSDefinition>
contributionURL
- Contribution location URLartifactURI
- Artifact URIartifactURL
- Artifact location URL
ContributionReadException
public void resolve(XSDefinition model, ModelResolver resolver) throws ContributionResolveException
ArtifactProcessor
resolve
in interface ArtifactProcessor<XSDefinition>
model
- The model to resolveresolver
- The resolver to use to resolve referenced models
ContributionResolveException
public java.lang.String getArtifactType()
URLArtifactProcessor
getArtifactType
in interface URLArtifactProcessor<XSDefinition>
public java.lang.Class<XSDefinition> getModelType()
ArtifactProcessor
getModelType
in interface ArtifactProcessor<XSDefinition>
protected XSDefinition indexRead(java.net.URL doc) throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |