org.iso_relax.dispatcher
Interface IslandSchema
- IgnoredSchema
public interface IslandSchema
represents a schema that validates one island.
bind
public void bind(SchemaProvider provider,
ErrorHandler errorHandler)
throws SAXException
binds references to imported elementDecls by using given provider.
this method is only called once before the first validation starts.
createNewAttributesVerifier
public AttributesVerifier createNewAttributesVerifier(String namespaceURI,
AttributesDecl[] decls)
creates a new AttributesVerifier instance that is going to validate
attribute declarations.
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.
createNewVerifier
public IslandVerifier createNewVerifier(String namespaceURI,
ElementDecl[] elementDecls)
creates a new IslandVerifier instance that is going to validate
one island.
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.
getAttributesDeclByName
public AttributesDecl getAttributesDeclByName(String name)
gets exported AttributesDecl object that has specified name.
- null
if no AttributesDecl is exported under the given name.
getAttributesDecls
public AttributesDecl[] getAttributesDecls()
returns all exported attributesDecl objects at once.
getElementDeclByName
public ElementDecl getElementDeclByName(String name)
gets exported elementDecl object that has specified name.
- null
if no elementDecl is exported under the given name.
getElementDecls
public ElementDecl[] getElementDecls()
returns all exported elementDecl objects at once.
iterateAttributesDecls
public Iterator iterateAttributesDecls()
iterates all exported attributesDecl objects.
iterateElementDecls
public Iterator iterateElementDecls()
iterates all exported elementDecl objects.