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 -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
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
-
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 interfaceSerializer<org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AttributeType>
- Parameters:
aSecurityObject
-the instance to be serializeddie Instanz die serialisert werden soll- Returns:
- the serialized instance as byte arraydie serialisierte Instanz als Byte Array
- Throws:
SerializeException
-will be thrown when an error occures serializing the objectwird 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 interfaceSerializer<org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AttributeType>
- Parameters:
aSecurityObject
-the isntance to be serializeddie Instanz die serialisert werden soll- Returns:
- the serialized instance as xml structuredie serialisierte Instanz als XML Struktur
- Throws:
SerializeException
-will be thrown when an error occures serializing the objectwird 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 interfaceSerializer<org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AttributeType>
- Parameters:
aSecurityObject
-the instance to be serializeddie Instanz die serialisert werden soll- Returns:
- the serialized instance a stringdie serialisierte Instanz als string
- Throws:
SerializeException
-will be thrown when an error occures serializing the objectwird geworfen wenn ein Fehler beim Serialisieren des Objektes auftritt- See Also:
-