Package com.helger.schematron.pure.model
Class PSLinkableGroup
java.lang.Object
com.helger.schematron.pure.model.PSLinkableGroup
- All Implemented Interfaces:
com.helger.commons.lang.ICloneable<PSLinkableGroup>,Serializable
@NotThreadSafe
public class PSLinkableGroup
extends Object
implements com.helger.commons.lang.ICloneable<PSLinkableGroup>, Serializable
A single "linkable" group
- Author:
- Philip Helger
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfillMicroElement(com.helger.xml.microdom.IMicroElement aElement) getClone()getRole()A name describing the function of the assertion or context node in the pattern.A path allowing more precise specification of nodes.static booleanisLinkableAttribute(String sAttrName) voidvoidsetSubject(String sSubject) toString()
-
Constructor Details
-
PSLinkableGroup
public PSLinkableGroup()
-
-
Method Details
-
setRole
-
getRole
A name describing the function of the assertion or context node in the pattern. If the assertion has a subject attribute, then the role labels the arc between the context node and any nodes which match the path expression given by the subject attribute.
An implementation is not required to make use of this attribute.- Returns:
- The role value
-
setSubject
-
getSubject
A path allowing more precise specification of nodes. The path expression is evaluated in the context of the context node of the current rule. If no subject attribute is specified, the current subject node may be used.
NOTE: The subject attribute is required because the rule context may have been selected for reasons of convenience or performance, in association with the particular assertion tests. In such cases, the rule context may not be useful to identify the subject, and the nodes located by the subject attribute may be more useful. Similarly, it may not be possible to determine from an assertion test which nodes the assertion test has tested. In such a case, the nodes located by the subject attribute may be more useful.
An implementation is not required to make use of this element.- Returns:
- The subject value
-
isLinkableAttribute
-
fillMicroElement
-
getClone
- Specified by:
getClonein interfacecom.helger.commons.lang.ICloneable<PSLinkableGroup>
-
toString
-