Package org.rutebanken.validator
Class SiriValidator
- java.lang.Object
-
- org.rutebanken.validator.SiriValidator
-
@Deprecated public class SiriValidator extends Object
Deprecated.Moved to org.entur.siri.validator.SiriValidator
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSiriValidator.VersionDeprecated.
-
Constructor Summary
Constructors Constructor Description SiriValidator()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static booleanvalidate(String xml, SiriValidator.Version version)Deprecated.Validates xml against xsd Result is printed to System.outstatic booleanvalidate(String xml, SiriValidator.Version version, PrintStream out)Deprecated.Validates xml against xsd Result is printed to provided PrintStream
-
-
-
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.JAXBExceptionSAXException
-
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.JAXBExceptionSAXException
-
-