Package org.iso_relax.dispatcher.impl
Class IgnoredSchema
java.lang.Object
org.iso_relax.dispatcher.impl.IgnoredSchema
- All Implemented Interfaces:
IslandSchema
IslandSchema implementation for "ignored" island.
This schema exports whatever importer wants, and anything is valid in this schema.
- Author:
- Kohsuke KAWAGUCHI
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbind(SchemaProvider provider, ErrorHandler handler) binds references to imported elementDecls by using given provider.createNewAttributesVerifier(String namespaceURI, AttributesDecl[] decls) creates a new AttributesVerifier instance that is going to validate attribute declarations.createNewVerifier(String namespaceURI, ElementDecl[] rules) creates a new IslandVerifier instance that is going to validate one island.gets exported AttributesDecl object that has specified name.returns all exported attributesDecl objects at once.getElementDeclByName(String name) gets exported elementDecl object that has specified name.returns all exported elementDecl objects at once.iterates all exported attributesDecl objects.iterates all exported elementDecl objects.
-
Constructor Details
-
IgnoredSchema
public IgnoredSchema()
-
-
Method Details
-
getElementDeclByName
Description copied from interface:IslandSchemagets exported elementDecl object that has specified name.- Specified by:
getElementDeclByNamein interfaceIslandSchema- Returns:
- null if no elementDecl is exported under the given name.
-
getElementDecls
Description copied from interface:IslandSchemareturns all exported elementDecl objects at once.- Specified by:
getElementDeclsin interfaceIslandSchema
-
iterateElementDecls
Description copied from interface:IslandSchemaiterates all exported elementDecl objects.- Specified by:
iterateElementDeclsin interfaceIslandSchema
-
createNewVerifier
Description copied from interface:IslandSchemacreates a new IslandVerifier instance that is going to validate one island.- Specified by:
createNewVerifierin interfaceIslandSchema- Parameters:
namespaceURI- namespace URI of the newly found element, which is going to be validated by the newly created IslandVerifier.rules- set of ElementDecl objects that newly created verifier shall validate.
-
getAttributesDeclByName
Description copied from interface:IslandSchemagets exported AttributesDecl object that has specified name.- Specified by:
getAttributesDeclByNamein interfaceIslandSchema- Returns:
- null if no AttributesDecl is exported under the given name.
-
getAttributesDecls
Description copied from interface:IslandSchemareturns all exported attributesDecl objects at once.- Specified by:
getAttributesDeclsin interfaceIslandSchema
-
iterateAttributesDecls
Description copied from interface:IslandSchemaiterates all exported attributesDecl objects.- Specified by:
iterateAttributesDeclsin interfaceIslandSchema
-
createNewAttributesVerifier
Description copied from interface:IslandSchemacreates a new AttributesVerifier instance that is going to validate attribute declarations.- Specified by:
createNewAttributesVerifierin interfaceIslandSchema- Parameters:
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.
-
bind
Description copied from interface:IslandSchemabinds references to imported elementDecls by using given provider. this method is only called once before the first validation starts.- Specified by:
bindin interfaceIslandSchema
-