|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StAXAttributeProcessor<M>
An artifact processor that can read attributes 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.namespace.QName attributeName,
javax.xml.stream.XMLStreamReader reader)
Reads a model from an XMLStreamReader. |
void |
write(M model,
javax.xml.stream.XMLStreamWriter writer)
Writes a model to an XMLStreamWriter. |
Methods inherited from interface org.apache.tuscany.sca.contribution.processor.ArtifactProcessor |
---|
getModelType, resolve |
Method Detail |
---|
M read(javax.xml.namespace.QName attributeName, javax.xml.stream.XMLStreamReader reader) throws ContributionReadException, javax.xml.stream.XMLStreamException
reader
- The XMLStreamReader
ContributionReadException
javax.xml.stream.XMLStreamException
void write(M model, javax.xml.stream.XMLStreamWriter writer) throws ContributionWriteException, javax.xml.stream.XMLStreamException
model
- A model representing the sourcewriter
- The XML stream writer
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 |