From 31d794be59cb2d1bf264df79f471b0c8d5f5a457 Mon Sep 17 00:00:00 2001 From: lresende Date: Sat, 21 Nov 2009 07:40:26 +0000 Subject: Moving to site trunk git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@882841 13f79535-47bb-0310-9956-ffa450edef68 --- .../workspace/xml/WorkspaceDocumentProcessor.html | 363 +++++++++++++++++++++ 1 file changed, 363 insertions(+) create mode 100644 site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/workspace/xml/WorkspaceDocumentProcessor.html (limited to 'site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/workspace/xml/WorkspaceDocumentProcessor.html') diff --git a/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/workspace/xml/WorkspaceDocumentProcessor.html b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/workspace/xml/WorkspaceDocumentProcessor.html new file mode 100644 index 0000000000..6ebd34f2a6 --- /dev/null +++ b/site/trunk/site-publish/doc/javadoc/java-sca-1.4/org/apache/tuscany/sca/workspace/xml/WorkspaceDocumentProcessor.html @@ -0,0 +1,363 @@ + + + + + + +WorkspaceDocumentProcessor + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

+ +org.apache.tuscany.sca.workspace.xml +
+Class WorkspaceDocumentProcessor

+
+java.lang.Object
+  extended by org.apache.tuscany.sca.workspace.xml.WorkspaceDocumentProcessor
+
+
+
All Implemented Interfaces:
ArtifactProcessor<Workspace>, URLArtifactProcessor<Workspace>
+
+
+
+
public class WorkspaceDocumentProcessor
extends java.lang.Object
implements URLArtifactProcessor<Workspace>
+ + +

+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.StringgetArtifactType() + +
+          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.
+ Workspaceread(java.net.URL contributionURL, + java.net.URI uri, + java.net.URL url) + +
+          Reads a model from a URL.
+ voidresolve(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
+ +

+WorkspaceDocumentProcessor

+
+public WorkspaceDocumentProcessor(StAXArtifactProcessor<java.lang.Object> staxProcessor,
+                                  javax.xml.stream.XMLInputFactory inputFactory,
+                                  Monitor monitor)
+
+
Constructs a new componentType processor. +

+

+
Parameters:
factory -
policyFactory -
registry -
+
+ + + + + + + + +
+Method Detail
+ +

+read

+
+public Workspace read(java.net.URL contributionURL,
+                      java.net.URI uri,
+                      java.net.URL url)
+               throws ContributionReadException
+
+
Description copied from interface: URLArtifactProcessor
+
Reads a model from a URL. +

+

+
Specified by:
read in interface URLArtifactProcessor<Workspace>
+
+
+
Parameters:
contributionURL - Contribution location URL
uri - Artifact URI
url - Artifact location URL +
Returns:
A model representation of the input. +
Throws: +
ContributionReadException
+
+
+
+ +

+resolve

+
+public void resolve(Workspace workspace,
+                    ModelResolver resolver)
+             throws ContributionResolveException
+
+
Description copied from interface: ArtifactProcessor
+
Resolve references from this model to other models. For example references + from a composite to another one, or references from a composite to a WSDL + model. +

+

+
Specified by:
resolve in interface ArtifactProcessor<Workspace>
+
+
+
Parameters:
workspace - The model to resolve
resolver - The resolver to use to resolve referenced models +
Throws: +
ContributionResolveException
+
+
+
+ +

+getArtifactType

+
+public java.lang.String getArtifactType()
+
+
Description copied from interface: URLArtifactProcessor
+
Returns the type of artifact handled by this artifact processor. +

+

+
Specified by:
getArtifactType in interface URLArtifactProcessor<Workspace>
+
+
+ +
Returns:
The type of artifact handled by this artifact processor
+
+
+
+ +

+getModelType

+
+public java.lang.Class<Workspace> getModelType()
+
+
Description copied from interface: ArtifactProcessor
+
Returns the type of model handled by this artifact processor. +

+

+
Specified by:
getModelType in interface ArtifactProcessor<Workspace>
+
+
+ +
Returns:
The type of model handled by this artifact processor
+
+
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ + + +
+ + + -- cgit v1.2.3