Class MarkdownValidatorFactory


  • @API(type=NOT_EXTENDABLE,
         src=PUBLIC)
    public final class MarkdownValidatorFactory
    extends java.lang.Object
    Factory class for creating MarkdownValidator objects.
    Since:
    22
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static MarkdownValidator createSchematronValidator​(java.lang.String systemId)
      Creates a new instance of MarkdownValidator that uses a Schematron schema for validation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • createSchematronValidator

        public static MarkdownValidator createSchematronValidator​(java.lang.String systemId)
        Creates a new instance of MarkdownValidator that uses a Schematron schema for validation.
        Parameters:
        systemId - the system identifier (URI). If the systemId is a URL, it must be fully resolved (it may not be a relative URL).
        Returns:
        the created validator