org.apache.xerces.dom3.as.ASObject |
Known Indirect Subclasses
ASAttributeDeclaration |
This interface is deprecated.
An attribute declaration in the context of a ASObject .The
constant 'REQUIRED' is missing from this interface.
See also the Document Object Model (DOM) Level 3 Abstract Schemas and Load
and Save Specification.
|
ASContentModel |
This interface is deprecated.
The content model of a declared element.
See also the Document Object Model (DOM) Level 3 Abstract Schemas and Load
and Save Specification.
|
ASElementDeclaration |
This interface is deprecated.
The element name along with the content specification in the context of an
ASObject .
See also the Document Object Model (DOM) Level 3 Abstract Schemas and Load
and Save Specification.
|
ASEntityDeclaration |
This interface is deprecated.
Models a general entity declaration in an abstract schema. The abstract
schema does not handle any parameter entity. It is assumed that the
parameter entities are expanded by the implementation as the abstract
schema is built.
See also the Document Object Model (DOM) Level 3 Abstract Schemas and Load
and Save Specification.
|
ASModel |
This interface is deprecated.
To begin with, an abstract schema is a generic structure that could
contain both internal and external subsets. An ASModel is an
abstract object that could map to a DTD , an XML Schema , a database
schema, etc. An ASModel could represent either an internal
or an external subset; hence an abstract schema could be composed of an
ASModel representing the internal subset and an
ASModel representing the external subset. Note that the
ASModel representing the external subset could consult the
ASModel representing the internal subset. Furthermore, the
ASModel representing the internal subset could be set to
null by the setInternalAS method as a mechanism for
"removal". In addition, only one ASModel representing the
external subset can be specified as "active" and it is possible that none
are "active". Finally, the ASModel contains the factory
methods needed to create a various types of ASObjects like
ASElementDeclaration , ASAttributeDeclaration ,
etc.
See also the Document Object Model (DOM) Level 3 Abstract Schemas and Load
and Save Specification.
|
ASModelImpl |
To begin with, an abstract schema is a generic structure that could
contain both internal and external subsets. |
ASNotationDeclaration |
This interface is deprecated.
This interface represents a notation declaration.
See also the Document Object Model (DOM) Level 3 Abstract Schemas and Load
and Save Specification.
|
|
Summary
Public Methods |
abstract
ASObject
|
cloneASObject(boolean deep)
Creates a copy of this ASObject .
|
abstract
short
|
getAsNodeType()
A code representing the underlying object as defined above.
|
abstract
String
|
getLocalName()
Returns the local part of the qualified name of this
ASObject .
|
abstract
String
|
getNamespaceURI()
The namespace URI of this node, or null if it is
unspecified.
|
abstract
String
|
getNodeName()
The name of this ASObject depending on the
ASObject type.
|
abstract
ASModel
|
getOwnerASModel()
The ASModel object associated with this
ASObject .
|
abstract
String
|
getPrefix()
The namespace prefix of this node, or null if it is
unspecified.
|
abstract
void
|
setLocalName(String localName)
Returns the local part of the qualified name of this
ASObject .
|
abstract
void
|
setNamespaceURI(String namespaceURI)
The namespace URI of this node, or null if it is
unspecified.
|
abstract
void
|
setNodeName(String nodeName)
The name of this ASObject depending on the
ASObject type.
|
abstract
void
|
setOwnerASModel(ASModel ownerASModel)
The ASModel object associated with this
ASObject .
|
abstract
void
|
setPrefix(String prefix)
The namespace prefix of this node, or null if it is
unspecified.
|
Constants
public
static
final
short
AS_ATTRIBUTE_DECLARATION
The node is an ASAttributeDeclaration
.
Constant Value:
2
(0x00000002)
public
static
final
short
AS_CONTENTMODEL
The node is a ASContentModel
.
Constant Value:
5
(0x00000005)
public
static
final
short
AS_ELEMENT_DECLARATION
The node is an ASElementDeclaration
.
Constant Value:
1
(0x00000001)
public
static
final
short
AS_ENTITY_DECLARATION
The node is an ASEntityDeclaration
.
Constant Value:
4
(0x00000004)
public
static
final
short
AS_MODEL
Constant Value:
6
(0x00000006)
public
static
final
short
AS_NOTATION_DECLARATION
The node is a ASNotationDeclaration
.
Constant Value:
3
(0x00000003)
Public Methods
public
abstract
ASObject
cloneASObject
(boolean deep)
Creates a copy of this ASObject
. See text for
cloneNode
off of Node
but substitute AS
functionality.
Parameters
deep
| Setting the deep flag on, causes the whole
subtree to be duplicated. Setting it to false only
duplicates its immediate child nodes. |
public
abstract
short
getAsNodeType
()
A code representing the underlying object as defined above.
public
abstract
String
getLocalName
()
Returns the local part of the qualified name of this
ASObject
.
public
abstract
String
getNamespaceURI
()
The namespace URI of this node, or null
if it is
unspecified. defines how a namespace URI is attached to schema
components.
public
abstract
String
getNodeName
()
The name
of this ASObject
depending on the
ASObject
type.
public
abstract
ASModel
getOwnerASModel
()
The ASModel
object associated with this
ASObject
. For a node of type AS_MODEL
, this
is null
.
public
abstract
String
getPrefix
()
The namespace prefix of this node, or null
if it is
unspecified.
public
abstract
void
setLocalName
(String localName)
Returns the local part of the qualified name of this
ASObject
.
public
abstract
void
setNamespaceURI
(String namespaceURI)
The namespace URI of this node, or null
if it is
unspecified. defines how a namespace URI is attached to schema
components.
public
abstract
void
setNodeName
(String nodeName)
The name
of this ASObject
depending on the
ASObject
type.
public
abstract
void
setOwnerASModel
(ASModel ownerASModel)
The ASModel
object associated with this
ASObject
. For a node of type AS_MODEL
, this
is null
.
public
abstract
void
setPrefix
(String prefix)
The namespace prefix of this node, or null
if it is
unspecified.