|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tuscany.sca.workspace.xml.WorkspaceDocumentProcessor
public class WorkspaceDocumentProcessor
A contribution workspace document processor.
| Constructor Summary | |
|---|---|
WorkspaceDocumentProcessor(StAXArtifactProcessor<java.lang.Object> staxProcessor,
javax.xml.stream.XMLInputFactory inputFactory,
Monitor monitor)
Constructs a new componentType processor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getArtifactType()
Returns the type of artifact handled by this artifact processor. |
java.lang.Class<Workspace> |
getModelType()
Returns the type of model handled by this artifact processor. |
Workspace |
read(java.net.URL contributionURL,
java.net.URI uri,
java.net.URL url)
Reads a model from a URL. |
void |
resolve(Workspace workspace,
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 |
| Constructor Detail |
|---|
public WorkspaceDocumentProcessor(StAXArtifactProcessor<java.lang.Object> staxProcessor,
javax.xml.stream.XMLInputFactory inputFactory,
Monitor monitor)
factory - policyFactory - registry - | Method Detail |
|---|
public Workspace read(java.net.URL contributionURL,
java.net.URI uri,
java.net.URL url)
throws ContributionReadException
URLArtifactProcessor
read in interface URLArtifactProcessor<Workspace>contributionURL - Contribution location URLuri - Artifact URIurl - Artifact location URL
ContributionReadException
public void resolve(Workspace workspace,
ModelResolver resolver)
throws ContributionResolveException
ArtifactProcessor
resolve in interface ArtifactProcessor<Workspace>workspace - The model to resolveresolver - The resolver to use to resolve referenced models
ContributionResolveExceptionpublic java.lang.String getArtifactType()
URLArtifactProcessor
getArtifactType in interface URLArtifactProcessor<Workspace>public java.lang.Class<Workspace> getModelType()
ArtifactProcessor
getModelType in interface ArtifactProcessor<Workspace>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||