Class PrivacyPolicyQueryResponseSerializerImpl

java.lang.Object
org.projecthusky.xua.serialization.impl.AbstractSerializerImpl
org.projecthusky.communication.ch.ppq.impl.serialization.PrivacyPolicyQueryResponseSerializerImpl
All Implemented Interfaces:
Serializer<PrivacyPolicyQueryResponse>

public class PrivacyPolicyQueryResponseSerializerImpl extends AbstractSerializerImpl implements Serializer<PrivacyPolicyQueryResponse>
Implementation class of Serializer<PrivacyPolicyQueryResponse>.
  • Constructor Details

    • PrivacyPolicyQueryResponseSerializerImpl

      public PrivacyPolicyQueryResponseSerializerImpl()
  • Method Details

    • toXmlByteArray

      public byte[] toXmlByteArray(PrivacyPolicyQueryResponse ppqResponse) throws SerializeException
      Description copied from interface: Serializer
      Method to serialize the instance of T into an byte array.
      Methode um eine Instanz von T in ein Byte Array zu serialisieren.
      Specified by:
      toXmlByteArray in interface Serializer<PrivacyPolicyQueryResponse>
      Parameters:
      ppqResponse -
      the instance to be serialized
      die Instanz die serialisert werden soll
      Returns:
      the serialized instance as byte array
      die serialisierte Instanz als Byte Array
      Throws:
      SerializeException -
      will be thrown when an error occures serializing the object
      wird geworfen wenn ein Fehler beim Serialisieren des Objektes auftritt
    • toXmlElement

      public Element toXmlElement(PrivacyPolicyQueryResponse ppqResponse) throws SerializeException
      Description copied from interface: Serializer
      Method to serialize the instance of T into an xml structure.
      Methode um eine Instanz von T in eine XML Struktur zu serialisieren.
      Specified by:
      toXmlElement in interface Serializer<PrivacyPolicyQueryResponse>
      Parameters:
      ppqResponse -
      the isntance to be serialized
      die Instanz die serialisert werden soll
      Returns:
      the serialized instance as xml structure
      die serialisierte Instanz als XML Struktur
      Throws:
      SerializeException -
      will be thrown when an error occures serializing the object
      wird geworfen wenn ein Fehler beim Serialisieren des Objektes auftritt
    • toXmlString

      public String toXmlString(PrivacyPolicyQueryResponse ppqResponse) throws SerializeException
      Description copied from interface: Serializer
      Method to serialize the instance of T into a string.
      Methode um eine Instanz von T in einen string zu serialisieren.
      Specified by:
      toXmlString in interface Serializer<PrivacyPolicyQueryResponse>
      Parameters:
      ppqResponse -
      the instance to be serialized
      die Instanz die serialisert werden soll
      Returns:
      the serialized instance a string
      die serialisierte Instanz als string
      Throws:
      SerializeException -
      will be thrown when an error occures serializing the object
      wird geworfen wenn ein Fehler beim Serialisieren des Objektes auftritt