Class SiriValidator


  • @Deprecated
    public class SiriValidator
    extends Object
    Deprecated.
    Moved to org.entur.siri.validator.SiriValidator
    • Constructor Detail

      • SiriValidator

        public SiriValidator()
        Deprecated.
    • Method Detail

      • validate

        public static boolean validate​(String xml,
                                       SiriValidator.Version version)
                                throws jakarta.xml.bind.JAXBException,
                                       SAXException
        Deprecated.
        Validates xml against xsd Result is printed to System.out
        Parameters:
        xml -
        version -
        Returns:
        Throws:
        jakarta.xml.bind.JAXBException
        SAXException
      • validate

        public static boolean validate​(String xml,
                                       SiriValidator.Version version,
                                       PrintStream out)
                                throws jakarta.xml.bind.JAXBException,
                                       SAXException
        Deprecated.
        Validates xml against xsd Result is printed to provided PrintStream
        Parameters:
        xml -
        version -
        out -
        Returns:
        Throws:
        jakarta.xml.bind.JAXBException
        SAXException