public abstract class IslandSchemaImpl extends Object implements IslandSchema, Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
IslandSchemaImpl.Binder
replaces all ExternalElementExp and ExternalAttributeExp
by actual definitions.
|
| Modifier and Type | Field and Description |
|---|---|
protected Map |
attributesDecls
map from name to DeclImpl.
|
protected Map |
elementDecls
map from name to DeclImpl.
|
| Constructor and Description |
|---|
IslandSchemaImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
bind(ReferenceContainer con,
IslandSchemaImpl.Binder binder) |
AttributesVerifier |
createNewAttributesVerifier(String namespaceURI,
AttributesDecl[] decls)
creates a new AttributesVerifier instance that is going to validate
attribute declarations.
|
IslandVerifier |
createNewVerifier(String namespace,
ElementDecl[] rules)
creates a new IslandVerifier instance that is going to validate
one island.
|
AttributesDecl |
getAttributesDeclByName(String name)
gets exported AttributesDecl object that has specified name.
|
AttributesDecl[] |
getAttributesDecls()
returns all exported attributesDecl objects at once.
|
ElementDecl |
getElementDeclByName(String name)
gets exported elementDecl object that has specified name.
|
ElementDecl[] |
getElementDecls()
returns all exported elementDecl objects at once.
|
protected abstract Grammar |
getGrammar()
get the grammar object that represents this island.
|
Iterator |
iterateAttributesDecls()
iterates all exported attributesDecl objects.
|
Iterator |
iterateElementDecls()
iterates all exported elementDecl objects.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbindprotected final Map elementDecls
protected final Map attributesDecls
public IslandVerifier createNewVerifier(String namespace, ElementDecl[] rules)
IslandSchemacreateNewVerifier in interface IslandSchemanamespace - 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.protected abstract Grammar getGrammar()
public ElementDecl getElementDeclByName(String name)
IslandSchemagetElementDeclByName in interface IslandSchemapublic Iterator iterateElementDecls()
IslandSchemaiterateElementDecls in interface IslandSchemapublic ElementDecl[] getElementDecls()
IslandSchemagetElementDecls in interface IslandSchemapublic AttributesDecl getAttributesDeclByName(String name)
IslandSchemagetAttributesDeclByName in interface IslandSchemapublic Iterator iterateAttributesDecls()
IslandSchemaiterateAttributesDecls in interface IslandSchemapublic AttributesDecl[] getAttributesDecls()
IslandSchemagetAttributesDecls in interface IslandSchemapublic AttributesVerifier createNewAttributesVerifier(String namespaceURI, AttributesDecl[] decls)
IslandSchemacreateNewAttributesVerifier in interface IslandSchemanamespaceURI - 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.protected void bind(ReferenceContainer con, IslandSchemaImpl.Binder binder)
Copyright © 2017 Oracle Corporation. All rights reserved.