2016/05/28 - Apache Tuscany has been retired.
For more information, please explore the Attic.
org.apache.tuscany.sca.binding.notification.encoding
Class EndpointReferenceSequenceEnDeCoder<ERS extends EndpointReferenceSequence>
java.lang.Object
org.apache.tuscany.sca.binding.notification.encoding.AbstractEnDeCoder<ERS>
org.apache.tuscany.sca.binding.notification.encoding.EndpointReferenceSequenceEnDeCoder<ERS>
- All Implemented Interfaces:
- EnDeCoder<ERS>
- Direct Known Subclasses:
- EndConsumersEnDeCoder, EndProducersEnDeCoder, NeighborBrokerConsumersEnDeCoder, NewConsumerResponseEnDeCoder, NewProducerResponseEnDeCoder
public abstract class EndpointReferenceSequenceEnDeCoder<ERS extends EndpointReferenceSequence>
- extends AbstractEnDeCoder<ERS>
Method Summary |
ERS |
decode(javax.xml.stream.XMLStreamReader reader)
Decodes an XML stream to an object. |
protected abstract java.lang.String |
decodeSequenceTypeAttribute(javax.xml.stream.XMLStreamReader reader)
|
void |
encode(ERS encodingObject,
javax.xml.stream.XMLStreamWriter writer)
Encodes an object to the specified stream writer. |
protected abstract void |
encodeSequenceTypeAttribute(ERS encodingObject,
javax.xml.stream.XMLStreamWriter writer)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EndpointReferenceSequenceEnDeCoder
public EndpointReferenceSequenceEnDeCoder(EncodingRegistry registry)
encode
public void encode(ERS encodingObject,
javax.xml.stream.XMLStreamWriter writer)
throws EncodingException
- Description copied from interface:
EnDeCoder
- Encodes an object to the specified stream writer.
- Parameters:
encodingObject
- Object to be serialized.writer
- Stream writer to which the infoset is serialized.
- Throws:
EncodingException
- In case of any encoding error.
encodeSequenceTypeAttribute
protected abstract void encodeSequenceTypeAttribute(ERS encodingObject,
javax.xml.stream.XMLStreamWriter writer)
throws EncodingException
- Throws:
EncodingException
decode
public ERS decode(javax.xml.stream.XMLStreamReader reader)
throws EncodingException
- Description copied from interface:
EnDeCoder
- Decodes an XML stream to an object.
- Parameters:
reader
- XML stream from where the encoded XML is read.
- Returns:
- Encoding object.
- Throws:
EncodingException
- In case of any encoding error.
decodeSequenceTypeAttribute
protected abstract java.lang.String decodeSequenceTypeAttribute(javax.xml.stream.XMLStreamReader reader)