Package | Description |
---|---|
org.relaxng.datatype | |
org.relaxng.datatype.helpers |
Modifier and Type | Method and Description |
---|---|
void |
DatatypeBuilder.addParameter(String name,
String strValue,
ValidationContext context)
Adds a new parameter.
|
void |
Datatype.checkValid(String literal,
ValidationContext context)
Similar to the isValid method but throws an exception with diagnosis
in case of errors.
|
DatatypeStreamingValidator |
Datatype.createStreamingValidator(ValidationContext context)
Creates an instance of a streaming validator for this type.
|
Object |
Datatype.createValue(String literal,
ValidationContext context)
Converts lexcial value and the current context to the corresponding
value object.
|
boolean |
Datatype.isValid(String literal,
ValidationContext context)
Checks if the specified 'literal' matches this Datatype
with respect to the current context.
|
Modifier and Type | Method and Description |
---|---|
void |
ParameterlessDatatypeBuilder.addParameter(String name,
String strValue,
ValidationContext context) |
Constructor and Description |
---|
StreamingValidatorImpl(Datatype baseType,
ValidationContext context) |
relaxng datatype