|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tuscany.sca.binding.notification.encoding.AbstractEnDeCoder<B>
org.apache.tuscany.sca.binding.notification.encoding.AbstractBrokerEnDeCoder<B>
public abstract class AbstractBrokerEnDeCoder<B extends AbstractBroker>
| Field Summary |
|---|
| Fields inherited from class org.apache.tuscany.sca.binding.notification.encoding.AbstractEnDeCoder |
|---|
registry |
| Constructor Summary | |
|---|---|
AbstractBrokerEnDeCoder(EncodingRegistry registry)
|
|
| Method Summary | |
|---|---|
B |
decode(javax.xml.stream.XMLStreamReader reader)
Decodes an XML stream to an object. |
void |
encode(B encodingObject,
javax.xml.stream.XMLStreamWriter writer)
Encodes an object to the specified stream writer. |
| Methods inherited from class org.apache.tuscany.sca.binding.notification.encoding.AbstractEnDeCoder |
|---|
start, stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.tuscany.sca.binding.notification.encoding.EnDeCoder |
|---|
getEncodingObjectQName, getEncodingObjectType |
| Constructor Detail |
|---|
public AbstractBrokerEnDeCoder(EncodingRegistry registry)
| Method Detail |
|---|
public void encode(B encodingObject,
javax.xml.stream.XMLStreamWriter writer)
throws EncodingException
EnDeCoder
encodingObject - Object to be serialized.writer - Stream writer to which the infoset is serialized.
EncodingException - In case of any encoding error.
public B decode(javax.xml.stream.XMLStreamReader reader)
throws EncodingException
EnDeCoder
reader - XML stream from where the encoded XML is read.
EncodingException - In case of any encoding error.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||