Interface WebappSchematronPhaseChooser
@API(type=EXTENDABLE,
src=PUBLIC)
public interface WebappSchematronPhaseChooser
Interface that is asked to provide the schematron phase to use.
- Since:
- 22
-
Method Summary
Modifier and TypeMethodDescriptionchoosePhase
(String schematronSystemId) Chooses the Schematron phase to use for a specific schematron.
-
Method Details
-
choosePhase
Chooses the Schematron phase to use for a specific schematron. In order to obtain the available phases in that Schematron file, one can useWebappDocumentValidator.getSchematronPhases(String)
. Note that a call to this method needs to parse the file. Caching the phases is recommended.- Parameters:
schematronSystemId
- The system ID of the Schematron file.- Returns:
- The chosen phase.
-