public interface IslandSchema
Modifier and Type | Method and Description |
---|---|
void |
bind(SchemaProvider provider,
org.xml.sax.ErrorHandler errorHandler)
binds references to imported elementDecls by using given provider.
|
AttributesVerifier |
createNewAttributesVerifier(java.lang.String namespaceURI,
AttributesDecl[] decls)
creates a new AttributesVerifier instance that is going to validate
attribute declarations.
|
IslandVerifier |
createNewVerifier(java.lang.String namespaceURI,
ElementDecl[] elementDecls)
creates a new IslandVerifier instance that is going to validate
one island.
|
AttributesDecl |
getAttributesDeclByName(java.lang.String name)
gets exported AttributesDecl object that has specified name.
|
AttributesDecl[] |
getAttributesDecls()
returns all exported attributesDecl objects at once.
|
ElementDecl |
getElementDeclByName(java.lang.String name)
gets exported elementDecl object that has specified name.
|
ElementDecl[] |
getElementDecls()
returns all exported elementDecl objects at once.
|
java.util.Iterator |
iterateAttributesDecls()
iterates all exported attributesDecl objects.
|
java.util.Iterator |
iterateElementDecls()
iterates all exported elementDecl objects.
|
void bind(SchemaProvider provider, org.xml.sax.ErrorHandler errorHandler) throws org.xml.sax.SAXException
org.xml.sax.SAXException
- any error has to be reported to ErrorHandler first.AttributesVerifier createNewAttributesVerifier(java.lang.String namespaceURI, AttributesDecl[] decls)
namespaceURI
- namespace URI of the attributes, which is going to be
validated by the newly created verifier.decls
- set of AttributesDecl objects that newly created verifier shall validate.IslandVerifier createNewVerifier(java.lang.String namespaceURI, ElementDecl[] elementDecls)
namespaceURI
- namespace URI of the newly found element, which is going to be
validated by the newly created IslandVerifier.elementDecls
- set of ElementDecl objects that newly created verifier shall validate.AttributesDecl getAttributesDeclByName(java.lang.String name)
AttributesDecl[] getAttributesDecls()
ElementDecl getElementDeclByName(java.lang.String name)
ElementDecl[] getElementDecls()
java.util.Iterator iterateAttributesDecls()
java.util.Iterator iterateElementDecls()