Package com.jcabi.xml

Interface XSD

All Known Implementing Classes:
XSDDocument
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@Deprecated @FunctionalInterface public interface XSD
Deprecated.
This class is deprecated since 0.31.0. Instead, you can use StrictXML with a schema provided in the constructor. Otherwise, you can use XMLDocument and validate the XML against the schema via the XMLDocument.validate(XML) method.
XSD schema.

Implementation of this interface must be immutable and thread-safe.

Since:
0.5
See Also:
Suppressed Checkstyle violations:
AbbreviationAsWordInNameCheck (5 lines)
  • Method Details

    • validate

      Deprecated.
      Validate XML.
      Parameters:
      xml - Source XML document
      Returns:
      Collection of problems found (empty if no problems)