com.sun.msv.relaxns.verifier

Class IslandSchemaImpl

public abstract class IslandSchemaImpl extends Object implements IslandSchema, Serializable

base implementation of IslandSchema for MSV. the iso_relax package doesn't have the distinction between AGM and VGM. For the safety, the implementation of the createNewVerifier method creates a new VGM everytime it is called. Fortunately, when all island schemas are from MSV, the application can simply treat RELAXGrammar as a normal Grammar object; there is no need to use Dispatcher nor any divide-and-validate framework. So createNewVerifier method is called only when In that case, the current createNewVerifier method causes a performance problem.

Author: Kohsuke KAWAGUCHI

Nested Class Summary
static classIslandSchemaImpl.Binder
replaces all ExternalElementExp and ExternalAttributeExp by actual definitions. these two expressions forms the fundamental mechanism of schema interaction.
Method Summary
AttributesVerifiercreateNewAttributesVerifier(String namespaceURI, AttributesDecl[] decls)
IslandVerifiercreateNewVerifier(String namespace, ElementDecl[] rules)
AttributesDeclgetAttributesDeclByName(String name)
AttributesDecl[]getAttributesDecls()
ElementDeclgetElementDeclByName(String name)
ElementDecl[]getElementDecls()
IteratoriterateAttributesDecls()
IteratoriterateElementDecls()

Method Detail

createNewAttributesVerifier

public AttributesVerifier createNewAttributesVerifier(String namespaceURI, AttributesDecl[] decls)

createNewVerifier

public IslandVerifier createNewVerifier(String namespace, ElementDecl[] rules)

getAttributesDeclByName

public AttributesDecl getAttributesDeclByName(String name)

getAttributesDecls

public AttributesDecl[] getAttributesDecls()

getElementDeclByName

public ElementDecl getElementDeclByName(String name)

getElementDecls

public ElementDecl[] getElementDecls()

iterateAttributesDecls

public Iterator iterateAttributesDecls()

iterateElementDecls

public Iterator iterateElementDecls()