public class JAXBUtils extends Object
public static String asXML(AccessType data) throws IOException, SAXException, URISyntaxException, JAXBException, ParserConfigurationException
data
- IOException
SAXException
URISyntaxException
JAXBException
ParserConfigurationException
public static String asXML(ErrorHandlerType data) throws JAXBException
data
- JAXBException
public static String asXML(IdListType data) throws IOException, SAXException, URISyntaxException, JAXBException, ParserConfigurationException
data
- IOException
SAXException
URISyntaxException
JAXBException
ParserConfigurationException
public static String asXML(JobStatusListType data) throws IOException, SAXException, URISyntaxException, JAXBException, ParserConfigurationException
data
- IOException
SAXException
URISyntaxException
JAXBException
ParserConfigurationException
public static String asXML(JobStatusType data) throws IOException, SAXException, URISyntaxException, JAXBException, ParserConfigurationException
data
- IOException
SAXException
URISyntaxException
JAXBException
ParserConfigurationException
public static String asXML(JobSubmissionType data) throws IOException, SAXException, URISyntaxException, JAXBException, ParserConfigurationException
data
- IOException
SAXException
URISyntaxException
JAXBException
ParserConfigurationException
public static String asXML(ParserType data) throws JAXBException
data
- JAXBException
public static String asXML(ScriptType data) throws JAXBException
data
- JAXBException
public static String asXML(ServiceType data) throws JAXBException
data
- JAXBException
public static ErrorHandlerType unmarshalErrorHandler(String xml) throws SAXException, IOException, URISyntaxException, JAXBException
xml
- SAXException
IOException
URISyntaxException
JAXBException
public static IdListType unmarshalIdList(String xml) throws JAXBException, IOException, SAXException, URISyntaxException
#getJAXBElement(String)
.xml
- JAXBException
- problem encountered during unmarshalingIOException
SAXException
- validation errorURISyntaxException
public static IdListType unmarshalIdList(URL url) throws IOException, SAXException, URISyntaxException, JAXBException
unmarshalIdList(String)
, #getXML(url)
url
- of the XMLIOException
SAXException
URISyntaxException
JAXBException
public static AccessType unmarshalJdbcAccess(String xml) throws JAXBException, IOException, SAXException, URISyntaxException
#getJAXBElement(String)
.xml
- JAXBException
- problem encountered during unmarshalingIOException
SAXException
- validation errorURISyntaxException
public static AccessType unmarshalJdbcAccess(URL url) throws IOException, SAXException, URISyntaxException, JAXBException
unmarshalJdbcAccess(String)
, #getXML(url)
url
- of the XMLIOException
SAXException
URISyntaxException
JAXBException
public static ScriptType unmarshalJobScript(String xml) throws SAXException, IOException, URISyntaxException, JAXBException
xml
- SAXException
IOException
URISyntaxException
JAXBException
public static JobStatusType unmarshalJobStatus(String xml) throws IOException, SAXException, URISyntaxException, JAXBException
#getJAXBElement(String)
.xml
- JAXBException
- problem encountered during unmarshalingIOException
SAXException
- validation errorURISyntaxException
public static JobStatusType unmarshalJobStatus(URL url) throws IOException, SAXException, URISyntaxException, JAXBException
unmarshalJobStatus(String)
, #getXML(url)
url
- of the XMLIOException
SAXException
URISyntaxException
JAXBException
public static JobStatusListType unmarshalJobStatusList(String xml) throws IOException, SAXException, URISyntaxException, JAXBException
#getJAXBElement(String)
.xml
- JAXBException
- problem encountered during unmarshalingIOException
SAXException
- validation errorURISyntaxException
public static JobStatusListType unmarshalJobStatusList(URL url) throws IOException, SAXException, URISyntaxException, JAXBException
unmarshalJobStatusList(String)
,
#getXML(url)
url
- of the XMLIOException
SAXException
URISyntaxException
JAXBException
public static JobSubmissionType unmarshalJobSubmission(String xml) throws JAXBException, IOException, SAXException, URISyntaxException
#getJAXBElement(String)
.xml
- JAXBException
- problem encountered during unmarshalingIOException
SAXException
- validation errorURISyntaxException
public static JobSubmissionType unmarshalJobSubmission(URL url) throws IOException, SAXException, URISyntaxException, JAXBException
unmarshalJobSubmission(String)
,
#getXML(url)
url
- of the XMLIOException
SAXException
URISyntaxException
JAXBException
public static ParserType unmarshalParser(String xml) throws SAXException, IOException, URISyntaxException, JAXBException
xml
- SAXException
IOException
URISyntaxException
JAXBException
public static ServiceType unmarshalService(String xml) throws JAXBException, IOException, SAXException, URISyntaxException
#getJAXBElement(String)
.xml
- JAXBException
- problem encountered during unmarshalingIOException
SAXException
- validation errorURISyntaxException
public static ServiceType unmarshalService(URL url) throws IOException, SAXException, URISyntaxException, JAXBException
unmarshalIdList(String)
, #getXML(url)
url
- of the XMLIOException
SAXException
URISyntaxException
JAXBException
Copyright © 2017. All rights reserved.