org.iso_relax.dispatcher.impl
Class IgnoredSchema
java.lang.Object
org.iso_relax.dispatcher.impl.IgnoredSchema
- IslandSchema
public class IgnoredSchema
extends java.lang.Object
IslandSchema implementation for "ignored" island.
This schema exports whatever importer wants, and anything is valid in this schema.
bind
public void bind(SchemaProvider provider,
ErrorHandler handler)
binds references to imported elementDecls by using given provider.
this method is only called once before the first validation starts.
- bind in interface IslandSchema
createNewAttributesVerifier
public AttributesVerifier createNewAttributesVerifier(String namespaceURI,
AttributesDecl[] decls)
creates a new AttributesVerifier instance that is going to validate
attribute declarations.
- createNewAttributesVerifier in interface IslandSchema
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[] rules)
creates a new IslandVerifier instance that is going to validate
one island.
- createNewVerifier in interface IslandSchema
namespaceURI
- namespace URI of the newly found element, which is going to be
validated by the newly created IslandVerifier.
getAttributesDeclByName
public AttributesDecl getAttributesDeclByName(String name)
gets exported AttributesDecl object that has specified name.
- getAttributesDeclByName in interface IslandSchema
- null
if no AttributesDecl is exported under the given name.
getElementDeclByName
public ElementDecl getElementDeclByName(String name)
gets exported elementDecl object that has specified name.
- getElementDeclByName in interface IslandSchema
- null
if no elementDecl is exported under the given name.