Package com.helger.schematron.pure.model
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 Summary
Modifier and TypeMethodDescriptioncom.helger.xml.microdom.IMicroElementbooleanbooleanisValid(IPSErrorHandler aErrorHandler) Check if this element is specified completely.voidvalidateCompletely(IPSErrorHandler aErrorHandler) Check if this element is specified completely.
-
Method Details
-
isValid
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 benull.- Returns:
trueif all mandatory fields are set and the element is valid,falseotherwise.
-
validateCompletely
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 benull.
-
isMinimal
boolean isMinimal()- Returns:
trueif this element conforms to the Schematron minimal syntax,falseotherwise.
-
getAsMicroElement
- Returns:
- The XML representation of this element. Never
null.
-