org.apache.tuscany.sca.databinding.sdo
Class ImportSDOProcessor

java.lang.Object
  extended by org.apache.tuscany.sca.databinding.sdo.ImportSDOProcessor
All Implemented Interfaces:
ArtifactProcessor<ImportSDO>, StAXArtifactProcessor<ImportSDO>

Deprecated.

@Deprecated
public class ImportSDOProcessor
extends java.lang.Object
implements StAXArtifactProcessor<ImportSDO>

Loader that handles <import.sdo> elements.


Constructor Summary
ImportSDOProcessor(ModelFactoryExtensionPoint modelFactories, Monitor monitor)
          Deprecated.  
 
Method Summary
 javax.xml.namespace.QName getArtifactType()
          Deprecated. Returns the type of artifact handled by this artifact processor.
 java.lang.Class<ImportSDO> getModelType()
          Deprecated. Returns the type of model handled by this artifact processor.
 javax.xml.namespace.QName getXMLType()
          Deprecated.  
 ImportSDO read(javax.xml.stream.XMLStreamReader reader)
          Deprecated. Reads a model from an XMLStreamReader.
 void resolve(ImportSDO importSDO, ModelResolver resolver)
          Deprecated. Resolve references from this model to other models.
 void write(ImportSDO model, javax.xml.stream.XMLStreamWriter outputSource)
          Deprecated. Writes a model to an XMLStreamWriter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportSDOProcessor

public ImportSDOProcessor(ModelFactoryExtensionPoint modelFactories,
                          Monitor monitor)
Deprecated. 
Method Detail

getXMLType

public javax.xml.namespace.QName getXMLType()
Deprecated. 

read

public ImportSDO read(javax.xml.stream.XMLStreamReader reader)
               throws ContributionReadException,
                      javax.xml.stream.XMLStreamException
Deprecated. 
Description copied from interface: StAXArtifactProcessor
Reads a model from an XMLStreamReader.

Specified by:
read in interface StAXArtifactProcessor<ImportSDO>
Parameters:
reader - The XMLStreamReader
Returns:
A model representation of the input.
Throws:
ContributionReadException
javax.xml.stream.XMLStreamException

getArtifactType

public javax.xml.namespace.QName getArtifactType()
Deprecated. 
Description copied from interface: StAXArtifactProcessor
Returns the type of artifact handled by this artifact processor.

Specified by:
getArtifactType in interface StAXArtifactProcessor<ImportSDO>
Returns:
The type of artifact handled by this artifact processor

write

public void write(ImportSDO model,
                  javax.xml.stream.XMLStreamWriter outputSource)
           throws ContributionWriteException
Deprecated. 
Description copied from interface: StAXArtifactProcessor
Writes a model to an XMLStreamWriter.

Specified by:
write in interface StAXArtifactProcessor<ImportSDO>
Parameters:
model - A model representing the source
outputSource - The XML stream writer
Throws:
ContributionWriteException

getModelType

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

Specified by:
getModelType in interface ArtifactProcessor<ImportSDO>
Returns:
The type of model handled by this artifact processor

resolve

public void resolve(ImportSDO importSDO,
                    ModelResolver resolver)
             throws ContributionResolveException
Deprecated. 
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<ImportSDO>
Parameters:
importSDO - The model to resolve
resolver - The resolver to use to resolve referenced models
Throws:
ContributionResolveException