|
JBoss XML Binding 2.0.3.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SchemaBindingValidator
Simple schema binding interface.
Method Summary | |
---|---|
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. |
Method Detail |
---|
void excludeNs(String ns)
ns
- namespace to excludeboolean isNsExcluded(String ns)
ns
- the namespace to check
void 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 check
void 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
- SchemaBindingvoid validate(String xsdName, Class<?>... cls)
xsdName
- the schema namecls
- the classes to check
|
JBoss XML Binding 2.0.3.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |