Class PersonLocalXmlSerializerImpl
- java.lang.Object
-
- com.fifa.connectid.sdk.core.xmlserializer.PersonLocalXmlSerializerImpl
-
- All Implemented Interfaces:
PersonLocalXmlSerializer
public class PersonLocalXmlSerializerImpl extends Object implements PersonLocalXmlSerializer
-
-
Constructor Summary
Constructors Constructor Description PersonLocalXmlSerializerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fifa.fc.PersonLocaldeserialize(String xml)Deserializes xml to PersonLocal objectStringserialize(com.fifa.fc.PersonLocal personLocal)Serializes PersonLocal object to XML
-
-
-
Method Detail
-
serialize
public String serialize(com.fifa.fc.PersonLocal personLocal) throws javax.xml.bind.JAXBException, IOException, SAXException, XmlSerializationException
Serializes PersonLocal object to XML- Specified by:
serializein interfacePersonLocalXmlSerializer- Parameters:
personLocal- PersonLocal object- Returns:
- xml string compliant with FIFA Data Standard
- Throws:
javax.xml.bind.JAXBException- If any unexpected problem occurs during the marshalling.IOException- exception thrown when given file is not accessibleSAXExceptionXmlSerializationException
-
deserialize
public com.fifa.fc.PersonLocal deserialize(String xml) throws XmlDeserializationException
Deserializes xml to PersonLocal object- Specified by:
deserializein interfacePersonLocalXmlSerializer- Parameters:
xml- xml representing PersonLocal type- Returns:
- xml string compliant with FIFA Data Standard
- Throws:
XmlDeserializationException- General deserialization exception, contains a cause.
-
-