public interface SchemaBindingValidator
Modifier and Type | Method and Description |
---|---|
void |
excludeNs(String ns)
Types and elements from the namespace passed into this method will be excluded from validation.
|
void |
excludeType(QName qName)
Excludes the specified type from validation.
|
void |
includeNs(String ns)
Removes the namespace from the excluded set.
|
void |
includeType(QName qName)
Removes the specified type from the excluded set.
|
boolean |
isNsExcluded(String ns)
Checks if the specified namespace is excluded from validation.
|
boolean |
isTypeExcluded(QName qName)
Checks if the type is excluded from validation.
|
void |
validate(InputSource is,
SchemaBinding binding)
This method will check that the XSD represented with InputSource and SchemaBinding are consistent.
|
void |
validate(String xsdName,
Class<?>... cls)
Validate xsd schema against classes.
|
void excludeNs(String ns)
ns
- namespace to excludeboolean isNsExcluded(String ns)
ns
- the namespace to checkvoid includeNs(String ns)
ns
- the namespace to remove from the excluded set.void excludeType(QName qName)
qName
- the QName of the type to exclude from validationboolean isTypeExcluded(QName qName)
qName
- the QName of the type to checkvoid includeType(QName qName)
qName
- the QName of type to remove from the excluded set.void validate(InputSource is, SchemaBinding binding)
is
- InputSource of the XSDbinding
- SchemaBindingCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.