|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tuscany.sca.contribution.processor.xml.AnyElementProcessor
public class AnyElementProcessor
| Constructor Summary | |
|---|---|
AnyElementProcessor(ModelFactoryExtensionPoint modelFactories,
Monitor monitor)
|
|
| Method Summary | |
|---|---|
javax.xml.namespace.QName |
getArtifactType()
Returns the type of artifact handled by this artifact processor. |
java.lang.Class<java.lang.Object> |
getModelType()
Returns the type of model handled by this artifact processor. |
java.lang.Object |
read(javax.xml.stream.XMLStreamReader reader)
Reads the contetns of the unknown elements and generates a custom implementation of XMLStreamReader i.e. |
void |
resolve(java.lang.Object model,
ModelResolver resolver)
Resolve references from this model to other models. |
void |
write(java.lang.Object model,
javax.xml.stream.XMLStreamWriter writer)
Writes unknown portions back to the writer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnyElementProcessor(ModelFactoryExtensionPoint modelFactories,
Monitor monitor)
| Method Detail |
|---|
public javax.xml.namespace.QName getArtifactType()
StAXArtifactProcessor
getArtifactType in interface StAXArtifactProcessor<java.lang.Object>public java.lang.Class<java.lang.Object> getModelType()
ArtifactProcessor
getModelType in interface ArtifactProcessor<java.lang.Object>
public java.lang.Object read(javax.xml.stream.XMLStreamReader reader)
throws ContributionReadException,
javax.xml.stream.XMLStreamException
read in interface StAXArtifactProcessor<java.lang.Object>reader -
javax.xml.stream.XMLStreamException
ContributionReadException
public void write(java.lang.Object model,
javax.xml.stream.XMLStreamWriter writer)
throws javax.xml.stream.XMLStreamException
write in interface StAXArtifactProcessor<java.lang.Object>model - writer -
javax.xml.stream.XMLStreamException
public void resolve(java.lang.Object model,
ModelResolver resolver)
throws ContributionResolveException
ArtifactProcessor
resolve in interface ArtifactProcessor<java.lang.Object>model - The model to resolveresolver - The resolver to use to resolve referenced models
ContributionResolveException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||