Package com.helger.schematron.pure.model
Class PSParam
java.lang.Object
com.helger.schematron.pure.model.PSParam
- All Implemented Interfaces:
IPSElement
A single Schematron param-element.
A name-value pair providing parameters for an abstract pattern. The required name attribute is an XML name with no colon. The required value attribute is a fragment of a query.
A name-value pair providing parameters for an abstract pattern. The required name attribute is an XML name with no colon. The required value attribute is a fragment of a query.
- Author:
- Philip Helger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.helger.xml.microdom.IMicroElementgetName()getValue()booleanbooleanisValid(IPSErrorHandler aErrorHandler) Check if this element is specified completely.voidvoidtoString()voidvalidateCompletely(IPSErrorHandler aErrorHandler) Check if this element is specified completely.
-
Constructor Details
-
PSParam
public PSParam()
-
-
Method Details
-
isValid
Description copied from interface:IPSElementCheck if this element is specified completely. This method stops at the first encountered error.- Specified by:
isValidin interfaceIPSElement- 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
Description copied from interface:IPSElementCheck if this element is specified completely. This method performs all validations independent of the number of encountered error.- Specified by:
validateCompletelyin interfaceIPSElement- Parameters:
aErrorHandler- The error handler where the error details are stored. May not benull.
-
isMinimal
public boolean isMinimal()- Specified by:
isMinimalin interfaceIPSElement- Returns:
trueif this element conforms to the Schematron minimal syntax,falseotherwise.
-
setName
-
getName
-
setValue
-
getValue
-
getAsMicroElement
- Specified by:
getAsMicroElementin interfaceIPSElement- Returns:
- The XML representation of this element. Never
null.
-
toString
-