public class SecurityProfileXmlConverter extends AbstractConverter<eu.dnetlib.domain.enabling.SecurityProfile> implements ResourceToXmlConverter<eu.dnetlib.domain.enabling.SecurityProfile>
| Constructor and Description |
|---|
SecurityProfileXmlConverter() |
| Modifier and Type | Method and Description |
|---|---|
String |
ObjectToXml(eu.dnetlib.domain.enabling.SecurityProfile object)
Converts the Java object to its xml representation.
|
String |
toXQueryString(eu.dnetlib.domain.SearchCriteria criteria)
Creates an XQuery from the given search criteria.
|
String |
toXQueryString(eu.dnetlib.domain.enabling.SecurityProfileSearchCriteria criteria) |
eu.dnetlib.domain.enabling.SecurityProfile |
XmlToObject(String xml)
Converts the xml representation to a Java object.
|
getMarshaller, getUnmarshallerpublic SecurityProfileXmlConverter()
throws JAXBException
JAXBExceptionpublic String ObjectToXml(eu.dnetlib.domain.enabling.SecurityProfile object) throws JAXBException
ObjectToXmlConverterObjectToXml in interface ObjectToXmlConverter<eu.dnetlib.domain.enabling.SecurityProfile>object - The object to convert.JAXBExceptionpublic eu.dnetlib.domain.enabling.SecurityProfile XmlToObject(String xml) throws JAXBException
ObjectToXmlConverterXmlToObject in interface ObjectToXmlConverter<eu.dnetlib.domain.enabling.SecurityProfile>xml - The xml representation to convertJAXBExceptionpublic String toXQueryString(eu.dnetlib.domain.enabling.SecurityProfileSearchCriteria criteria)
public String toXQueryString(eu.dnetlib.domain.SearchCriteria criteria)
ResourceToXmlConvertertoXQueryString in interface ResourceToXmlConverter<eu.dnetlib.domain.enabling.SecurityProfile>criteria - The search criteria.Copyright © 2019. All rights reserved.