Class AttributeSerializerImpl

java.lang.Object
org.projecthusky.xua.serialization.impl.AbstractSerializerImpl
org.projecthusky.xua.serialization.impl.AttributeSerializerImpl
All Implemented Interfaces:
Serializer<org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AttributeType>

public class AttributeSerializerImpl extends AbstractSerializerImpl implements Serializer<org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AttributeType>
Implementation class of Serializer<Attribute>.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    toXmlByteArray(org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AttributeType aSecurityObject)
    Method to serialize the instance of T into an byte array. Methode um eine Instanz von T in ein Byte Array zu serialisieren.
    toXmlElement(org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AttributeType aSecurityObject)
    Method to serialize the instance of T into an xml structure. Methode um eine Instanz von T in eine XML Struktur zu serialisieren.
    toXmlString(org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AttributeType aSecurityObject)
    Method to serialize the instance of T into a string. Methode um eine Instanz von T in einen string zu serialisieren.

    Methods inherited from class org.projecthusky.xua.serialization.impl.AbstractSerializerImpl

    getOpenSamlSerializer, setOpenSamlSerializer

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AttributeSerializerImpl

      public AttributeSerializerImpl()
  • Method Details

    • toXmlByteArray

      public byte[] toXmlByteArray(org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AttributeType aSecurityObject) throws SerializeException
      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<org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AttributeType>
      Parameters:
      aSecurityObject -
      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
      See Also:
    • toXmlElement

      public Element toXmlElement(org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AttributeType aSecurityObject) throws SerializeException
      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<org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AttributeType>
      Parameters:
      aSecurityObject -
      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
      See Also:
    • toXmlString

      public String toXmlString(org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AttributeType aSecurityObject) throws SerializeException
      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<org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AttributeType>
      Parameters:
      aSecurityObject -
      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
      See Also: