|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StAXArtifactProcessor<M>
An artifact processor that can read models from a StAX XMLStreamReader.
Method Summary | |
---|---|
javax.xml.namespace.QName |
getArtifactType()
Returns the type of artifact handled by this artifact processor. |
M |
read(javax.xml.stream.XMLStreamReader inputSource)
Reads a model from an input source. |
void |
write(M model,
javax.xml.stream.XMLStreamWriter outputSource)
Writes a model to an ouput source. |
Methods inherited from interface org.apache.tuscany.sca.contribution.processor.ArtifactProcessor |
---|
getModelType, resolve |
Method Detail |
---|
M read(javax.xml.stream.XMLStreamReader inputSource) throws ContributionReadException, javax.xml.stream.XMLStreamException
inputSource
- The input source
ContributionReadException
javax.xml.stream.XMLStreamException
void write(M model, javax.xml.stream.XMLStreamWriter outputSource) throws ContributionWriteException, javax.xml.stream.XMLStreamException
model
- A model representing the sourceoutputSource
- The output source
ContributionWriteException
javax.xml.stream.XMLStreamException
javax.xml.namespace.QName getArtifactType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |