org.apache.tuscany.sca.binding.notification.encoding
Class NewConsumerResponseEnDeCoder

java.lang.Object
  extended by org.apache.tuscany.sca.binding.notification.encoding.AbstractEnDeCoder<ERS>
      extended by org.apache.tuscany.sca.binding.notification.encoding.EndpointReferenceSequenceEnDeCoder<NewConsumerResponse>
          extended by org.apache.tuscany.sca.binding.notification.encoding.NewConsumerResponseEnDeCoder
All Implemented Interfaces:
EnDeCoder<NewConsumerResponse>

public class NewConsumerResponseEnDeCoder
extends EndpointReferenceSequenceEnDeCoder<NewConsumerResponse>


Field Summary
static javax.xml.namespace.QName QNAME
           
 
Fields inherited from class org.apache.tuscany.sca.binding.notification.encoding.AbstractEnDeCoder
registry
 
Constructor Summary
NewConsumerResponseEnDeCoder(EncodingRegistry registry)
           
 
Method Summary
protected  java.lang.String decodeSequenceTypeAttribute(javax.xml.stream.XMLStreamReader reader)
           
protected  void encodeSequenceTypeAttribute(NewConsumerResponse encodingObject, javax.xml.stream.XMLStreamWriter writer)
           
 javax.xml.namespace.QName getEncodingObjectQName()
          Gets the qualified name of the XML fragment for the Encoding object.
 java.lang.Class<NewConsumerResponse> getEncodingObjectType()
          Returns the type of the encoding object.
 
Methods inherited from class org.apache.tuscany.sca.binding.notification.encoding.EndpointReferenceSequenceEnDeCoder
decode, encode
 
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
 

Field Detail

QNAME

public static final javax.xml.namespace.QName QNAME
Constructor Detail

NewConsumerResponseEnDeCoder

public NewConsumerResponseEnDeCoder(EncodingRegistry registry)
Method Detail

getEncodingObjectQName

public javax.xml.namespace.QName getEncodingObjectQName()
Description copied from interface: EnDeCoder
Gets the qualified name of the XML fragment for the Encoding object.

Returns:
Qualified name of the XML fragment.

getEncodingObjectType

public java.lang.Class<NewConsumerResponse> getEncodingObjectType()
Description copied from interface: EnDeCoder
Returns the type of the encoding object.

Returns:
Encoding object type.

encodeSequenceTypeAttribute

protected void encodeSequenceTypeAttribute(NewConsumerResponse encodingObject,
                                           javax.xml.stream.XMLStreamWriter writer)
                                    throws EncodingException
Specified by:
encodeSequenceTypeAttribute in class EndpointReferenceSequenceEnDeCoder<NewConsumerResponse>
Throws:
EncodingException

decodeSequenceTypeAttribute

protected java.lang.String decodeSequenceTypeAttribute(javax.xml.stream.XMLStreamReader reader)
Specified by:
decodeSequenceTypeAttribute in class EndpointReferenceSequenceEnDeCoder<NewConsumerResponse>