Package eu.europa.esig.dss.policy
Class ValidationPolicyXmlDefiner
java.lang.Object
eu.europa.esig.dss.policy.ValidationPolicyXmlDefiner
Contains cached the
JAXBContext
and Schema
for an XML validation policy-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic jakarta.xml.bind.JAXBContext
Gets theJAXBContext
static Schema
Gets theSchema
-
Field Details
-
OBJECT_FACTORY
The object factory to use
-
-
Method Details
-
getJAXBContext
public static jakarta.xml.bind.JAXBContext getJAXBContext() throws jakarta.xml.bind.JAXBExceptionGets theJAXBContext
- Returns:
JAXBContext
- Throws:
jakarta.xml.bind.JAXBException
- if an exception occurs
-
getSchema
Gets theSchema
- Returns:
Schema
- Throws:
IOException
- if an IOException occursSAXException
- if a SAXException occurs
-