Class ValidationPolicyXmlDefiner

java.lang.Object
eu.europa.esig.dss.policy.ValidationPolicyXmlDefiner

public final class ValidationPolicyXmlDefiner extends Object
Contains cached the JAXBContext and Schema for an XML validation policy
  • Field Details

    • OBJECT_FACTORY

      public static final ObjectFactory OBJECT_FACTORY
      The object factory to use
  • Method Details

    • getJAXBContext

      public static jakarta.xml.bind.JAXBContext getJAXBContext() throws jakarta.xml.bind.JAXBException
      Gets the JAXBContext
      Returns:
      JAXBContext
      Throws:
      jakarta.xml.bind.JAXBException - if an exception occurs
    • getSchema

      public static Schema getSchema() throws IOException, SAXException
      Gets the Schema
      Returns:
      Schema
      Throws:
      IOException - if an IOException occurs
      SAXException - if a SAXException occurs