@Immutable public final class SchematronValidator extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isValidSchematron(com.phloc.commons.microdom.IMicroNode aNode)
Check if the passed micro node is a valid schematron instance.
|
static boolean |
isValidSchematron(com.phloc.commons.io.IReadableResource aRes)
Check if the passed resource is a valid schematron instance.
|
static boolean |
isValidSchematron(Node aNode)
Check if the passed DOM node is a valid schematron instance.
|
static boolean |
isValidSchematron(Source aSource)
Check if the passed source is a valid schematron instance.
|
public static boolean isValidSchematron(@Nullable com.phloc.commons.microdom.IMicroNode aNode)
aNode - The micro node to check. May be null.true if the schematron is valid, false
otherwise.public static boolean isValidSchematron(@Nullable Node aNode)
aNode - The DOM node to check. May be null.true if the schematron is valid, false
otherwise.public static boolean isValidSchematron(@Nullable com.phloc.commons.io.IReadableResource aRes)
aRes - The resource to check. May be null.true if the schematron is valid, false
otherwise.Copyright © 2006–2014 phloc systems. All rights reserved.