Package eu.europa.esig.trustedlist
Class TrustedListFacade
- java.lang.Object
-
- eu.europa.esig.dss.jaxb.parsers.AbstractJaxbFacade<TrustStatusListType>
-
- eu.europa.esig.trustedlist.TrustedListFacade
-
public class TrustedListFacade extends AbstractJaxbFacade<TrustStatusListType>
-
-
Constructor Summary
Constructors Constructor Description TrustedListFacade()
-
Method Summary
Modifier and Type Method Description protected JAXBContextgetJAXBContext()This method returns the instance ofJAXBContextwhich can handle the JAXB Objectprotected SchemagetSchema()This method returns an instance ofSchemawith the loaded XML Schema(s).static TrustedListFacadenewFacade()protected JAXBElement<TrustStatusListType>wrap(TrustStatusListType jaxbObject)This method wraps/envelops the JAXB object with a "root" element-
Methods inherited from class eu.europa.esig.dss.jaxb.parsers.AbstractJaxbFacade
getMarshaller, getUnmarshaller, marshall, marshall, marshall, marshall, unmarshall, unmarshall, unmarshall, unmarshall, unmarshall, unmarshall
-
-
-
-
Method Detail
-
newFacade
public static TrustedListFacade newFacade()
-
getJAXBContext
protected JAXBContext getJAXBContext() throws JAXBException
Description copied from class:AbstractJaxbFacadeThis method returns the instance ofJAXBContextwhich can handle the JAXB Object- Specified by:
getJAXBContextin classAbstractJaxbFacade<TrustStatusListType>- Returns:
- an instance of
JAXBContext - Throws:
JAXBException- if an error occurred in the initialization process
-
getSchema
protected Schema getSchema() throws IOException, SAXException
Description copied from class:AbstractJaxbFacadeThis method returns an instance ofSchemawith the loaded XML Schema(s). The XSD(s) allows to validate the JAXB Object.- Specified by:
getSchemain classAbstractJaxbFacade<TrustStatusListType>- Returns:
- an instance of
Schema - Throws:
IOException- if an I/O error occurred in the initialization processSAXException- if a SAX error occurred in the initialization process
-
wrap
protected JAXBElement<TrustStatusListType> wrap(TrustStatusListType jaxbObject)
Description copied from class:AbstractJaxbFacadeThis method wraps/envelops the JAXB object with a "root" element- Specified by:
wrapin classAbstractJaxbFacade<TrustStatusListType>- Parameters:
jaxbObject- the JAXB object to be enveloped to marshall- Returns:
- the enveloped JAXB object, ready to be marshalled
-
-