Methods Summary |
---|
public void | addASModel(ASModel abstractSchema)This method will allow the nesting or "importation" of ASModels.
fASModels.addElement(abstractSchema);
|
public ASObject | cloneASObject(boolean deep)Creates a copy of this ASObject . See text for
cloneNode off of Node but substitute AS
functionality.
String msg = DOMMessageFormatter.formatMessage(DOMMessageFormatter.DOM_DOMAIN, "NOT_SUPPORTED_ERR", null);
throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg);
|
public ASAttributeDeclaration | createASAttributeDeclaration(java.lang.String namespaceURI, java.lang.String name)Creates an attribute declaration.
String msg = DOMMessageFormatter.formatMessage(DOMMessageFormatter.DOM_DOMAIN, "NOT_SUPPORTED_ERR", null);
throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg);
|
public ASContentModel | createASContentModel(int minOccurs, int maxOccurs, short operator)Creates an object which describes part of an
ASElementDeclaration 's content model.
String msg = DOMMessageFormatter.formatMessage(DOMMessageFormatter.DOM_DOMAIN, "NOT_SUPPORTED_ERR", null);
throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg);
|
public ASElementDeclaration | createASElementDeclaration(java.lang.String namespaceURI, java.lang.String name)Creates an element declaration for the element type specified.
String msg = DOMMessageFormatter.formatMessage(DOMMessageFormatter.DOM_DOMAIN, "NOT_SUPPORTED_ERR", null);
throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg);
|
public ASEntityDeclaration | createASEntityDeclaration(java.lang.String name)Creates an ASEntityDeclaration.
String msg = DOMMessageFormatter.formatMessage(DOMMessageFormatter.DOM_DOMAIN, "NOT_SUPPORTED_ERR", null);
throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg);
|
public ASNotationDeclaration | createASNotationDeclaration(java.lang.String namespaceURI, java.lang.String name, java.lang.String systemId, java.lang.String publicId)Creates a new notation declaration.
String msg = DOMMessageFormatter.formatMessage(DOMMessageFormatter.DOM_DOMAIN, "NOT_SUPPORTED_ERR", null);
throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg);
|
public ASObjectList | getASModels()To retrieve a list of nested ASModels without reference to names.
String msg = DOMMessageFormatter.formatMessage(DOMMessageFormatter.DOM_DOMAIN, "NOT_SUPPORTED_ERR", null);
throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg);
|
public java.lang.String | getAsHint()The hint to locating an ASModel.
String msg = DOMMessageFormatter.formatMessage(DOMMessageFormatter.DOM_DOMAIN, "NOT_SUPPORTED_ERR", null);
throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg);
|
public java.lang.String | getAsLocation()The URI reference.
String msg = DOMMessageFormatter.formatMessage(DOMMessageFormatter.DOM_DOMAIN, "NOT_SUPPORTED_ERR", null);
throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg);
|
public short | getAsNodeType()A code representing the underlying object as defined above.
String msg = DOMMessageFormatter.formatMessage(DOMMessageFormatter.DOM_DOMAIN, "NOT_SUPPORTED_ERR", null);
throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg);
|
public ASNamedObjectMap | getAttributeDeclarations()Instead of returning an all-in-one ASObject with
ASModel methods, have discernible top-level/"global"
attribute declarations. If one attempts to add, set, or remove a node
type other than the intended one, a hierarchy exception (or
equivalent is thrown).
String msg = DOMMessageFormatter.formatMessage(DOMMessageFormatter.DOM_DOMAIN, "NOT_SUPPORTED_ERR", null);
throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg);
|
public boolean | getContainer()If usage is EXTERNAL_SUBSET or NOT_USED, and the
ASModel is simply a container of other ASModels.
return (fGrammar != null);
|
public ASNamedObjectMap | getContentModelDeclarations()Instead of returning an all-in-one ASObject with
ASModel methods, have discernible top-level/"global
content model declarations. If one attempts to add, set, or remove a
node type other than the intended one, a hierarchy exception (or
equivalent is thrown).
String msg = DOMMessageFormatter.formatMessage(DOMMessageFormatter.DOM_DOMAIN, "NOT_SUPPORTED_ERR", null);
throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg);
|
public ASNamedObjectMap | getElementDeclarations()Instead of returning an all-in-one ASObject with
ASModel methods, have discernible top-level/"global"
element declarations. If one attempts to add, set, or remove a node
type other than the intended one, a hierarchy exception (or
equivalent is thrown).
String msg = DOMMessageFormatter.formatMessage(DOMMessageFormatter.DOM_DOMAIN, "NOT_SUPPORTED_ERR", null);
throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg);
|
public ASNamedObjectMap | getEntityDeclarations()Instead of returning an all-in-one ASObject with
ASModel methods, have discernible top-level/"global"
entity declarations. If one attempts to add, set, or remove a node
type other than the intended one, a hierarchy exception (or
equivalent is thrown).
String msg = DOMMessageFormatter.formatMessage(DOMMessageFormatter.DOM_DOMAIN, "NOT_SUPPORTED_ERR", null);
throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg);
|
public com.sun.org.apache.xerces.internal.impl.xs.SchemaGrammar | getGrammar()
return fGrammar;
|
public java.util.Vector | getInternalASModels()
return fASModels;
|
public boolean | getIsNamespaceAware()true if this ASModel defines the document
structure in terms of namespaces and local names ; false
if the document structure is defined only in terms of
QNames .
return fNamespaceAware;
|
public java.lang.String | getLocalName()Returns the local part of the qualified name of this
ASObject .
String msg = DOMMessageFormatter.formatMessage(DOMMessageFormatter.DOM_DOMAIN, "NOT_SUPPORTED_ERR", null);
throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg);
|
public java.lang.String | getNamespaceURI()The namespace URI of this node, or null if it is
unspecified. defines how a namespace URI is attached to schema
components.
String msg = DOMMessageFormatter.formatMessage(DOMMessageFormatter.DOM_DOMAIN, "NOT_SUPPORTED_ERR", null);
throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg);
|
public java.lang.String | getNodeName()The name of this ASObject depending on the
ASObject type.
String msg = DOMMessageFormatter.formatMessage(DOMMessageFormatter.DOM_DOMAIN, "NOT_SUPPORTED_ERR", null);
throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg);
|
public ASNamedObjectMap | getNotationDeclarations()Instead of returning an all-in-one ASObject with
ASModel methods, have discernible top-level/"global"
notation declarations. If one attempts to add, set, or remove a node
type other than the intended one, a hierarchy exception (or
equivalent is thrown).
String msg = DOMMessageFormatter.formatMessage(DOMMessageFormatter.DOM_DOMAIN, "NOT_SUPPORTED_ERR", null);
throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg);
|
public ASModel | getOwnerASModel()The ASModel object associated with this
ASObject . For a node of type AS_MODEL , this
is null .
String msg = DOMMessageFormatter.formatMessage(DOMMessageFormatter.DOM_DOMAIN, "NOT_SUPPORTED_ERR", null);
throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg);
|
public java.lang.String | getPrefix()The namespace prefix of this node, or null if it is
unspecified.
String msg = DOMMessageFormatter.formatMessage(DOMMessageFormatter.DOM_DOMAIN, "NOT_SUPPORTED_ERR", null);
throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg);
|
public short | getUsageLocation()0 if used internally, 1 if used externally, 2 if not all. An exception
will be raised if it is incompatibly shared or in use as an internal
subset.
String msg = DOMMessageFormatter.formatMessage(DOMMessageFormatter.DOM_DOMAIN, "NOT_SUPPORTED_ERR", null);
throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg);
|
public void | importASObject(ASObject asobject)Imports ASObject into ASModel.
String msg = DOMMessageFormatter.formatMessage(DOMMessageFormatter.DOM_DOMAIN, "NOT_SUPPORTED_ERR", null);
throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg);
|
public void | insertASObject(ASObject asobject)Inserts ASObject into ASModel.
String msg = DOMMessageFormatter.formatMessage(DOMMessageFormatter.DOM_DOMAIN, "NOT_SUPPORTED_ERR", null);
throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg);
|
public void | removeAS(ASModel as)Removes only the specified ASModel from the list of
ASModel s.
fASModels.removeElement(as);
|
public void | setAsHint(java.lang.String asHint)The hint to locating an ASModel.
String msg = DOMMessageFormatter.formatMessage(DOMMessageFormatter.DOM_DOMAIN, "NOT_SUPPORTED_ERR", null);
throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg);
|
public void | setAsLocation(java.lang.String asLocation)The URI reference.
String msg = DOMMessageFormatter.formatMessage(DOMMessageFormatter.DOM_DOMAIN, "NOT_SUPPORTED_ERR", null);
throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg);
|
public void | setGrammar(com.sun.org.apache.xerces.internal.impl.xs.SchemaGrammar grammar)
fGrammar = grammar;
|
public void | setLocalName(java.lang.String localName)Returns the local part of the qualified name of this
ASObject .
String msg = DOMMessageFormatter.formatMessage(DOMMessageFormatter.DOM_DOMAIN, "NOT_SUPPORTED_ERR", null);
throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg);
|
public void | setNamespaceURI(java.lang.String namespaceURI)The namespace URI of this node, or null if it is
unspecified. defines how a namespace URI is attached to schema
components.
String msg = DOMMessageFormatter.formatMessage(DOMMessageFormatter.DOM_DOMAIN, "NOT_SUPPORTED_ERR", null);
throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg);
|
public void | setNodeName(java.lang.String nodeName)The name of this ASObject depending on the
ASObject type.
String msg = DOMMessageFormatter.formatMessage(DOMMessageFormatter.DOM_DOMAIN, "NOT_SUPPORTED_ERR", null);
throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg);
|
public void | setOwnerASModel(ASModel ownerASModel)The ASModel object associated with this
ASObject . For a node of type AS_MODEL , this
is null .
String msg = DOMMessageFormatter.formatMessage(DOMMessageFormatter.DOM_DOMAIN, "NOT_SUPPORTED_ERR", null);
throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg);
|
public void | setPrefix(java.lang.String prefix)The namespace prefix of this node, or null if it is
unspecified.
String msg = DOMMessageFormatter.formatMessage(DOMMessageFormatter.DOM_DOMAIN, "NOT_SUPPORTED_ERR", null);
throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg);
|
public boolean | validate()Determines if an ASModel itself is valid, i.e., confirming
that it's well-formed and valid per its own formal grammar.
String msg = DOMMessageFormatter.formatMessage(DOMMessageFormatter.DOM_DOMAIN, "NOT_SUPPORTED_ERR", null);
throw new DOMException(DOMException.NOT_SUPPORTED_ERR, msg);
|