Interface IPSElement

All Known Subinterfaces:
IPSClonableElement<IMPLTYPE>
All Known Implementing Classes:
PSActive, PSAssertReport, PSDiagnostic, PSDiagnostics, PSDir, PSEmph, PSExtends, PSInclude, PSLet, PSName, PSNS, PSP, PSParam, PSPattern, PSPhase, PSRule, PSSchema, PSSpan, PSTitle, PSValueOf

public interface IPSElement
Base interface for a single Pure Schematron element
Author:
Philip Helger
  • Method Details

    • isValid

      boolean isValid(@Nonnull IPSErrorHandler aErrorHandler)
      Check if this element is specified completely. This method stops at the first encountered error.
      Parameters:
      aErrorHandler - The error handler where the error details are stored. May not be null.
      Returns:
      true if all mandatory fields are set and the element is valid, false otherwise.
    • validateCompletely

      void validateCompletely(@Nonnull IPSErrorHandler aErrorHandler)
      Check if this element is specified completely. This method performs all validations independent of the number of encountered error.
      Parameters:
      aErrorHandler - The error handler where the error details are stored. May not be null.
    • isMinimal

      boolean isMinimal()
      Returns:
      true if this element conforms to the Schematron minimal syntax, false otherwise.
    • getAsMicroElement

      @Nonnull com.helger.xml.microdom.IMicroElement getAsMicroElement()
      Returns:
      The XML representation of this element. Never null.