Class PrivacyPolicyFeedResponseSerializerImpl

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

public class PrivacyPolicyFeedResponseSerializerImpl extends AbstractSerializerImpl implements Serializer<PrivacyPolicyFeedResponse>
Implementation class of Serializer<PrivacyPolicyFeedResponse>.
  • Constructor Details

    • PrivacyPolicyFeedResponseSerializerImpl

      public PrivacyPolicyFeedResponseSerializerImpl()
  • Method Details

    • toXmlByteArray

      public byte[] toXmlByteArray(PrivacyPolicyFeedResponse ppfResponse) 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<PrivacyPolicyFeedResponse>
      Parameters:
      ppfResponse -
      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(PrivacyPolicyFeedResponse ppfResponse) 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<PrivacyPolicyFeedResponse>
      Parameters:
      ppfResponse -
      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(PrivacyPolicyFeedResponse ppfResponse) 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<PrivacyPolicyFeedResponse>
      Parameters:
      ppfResponse -
      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