ASObject
interface is analogous to a Node
in
, e.g., an element declaration.
Opaque.
See also the Document Object Model (DOM) Level 3 Abstract Schemas and Load and Save Specification.
public interface ASObject
Modifier and Type | Field and Description |
---|---|
static short |
AS_ATTRIBUTE_DECLARATION
Deprecated.
The node is an
ASAttributeDeclaration . |
static short |
AS_CONTENTMODEL
Deprecated.
The node is a
ASContentModel . |
static short |
AS_ELEMENT_DECLARATION
Deprecated.
The node is an
ASElementDeclaration . |
static short |
AS_ENTITY_DECLARATION
Deprecated.
The node is an
ASEntityDeclaration . |
static short |
AS_MODEL
Deprecated.
The node is a
ASModel . |
static short |
AS_NOTATION_DECLARATION
Deprecated.
The node is a
ASNotationDeclaration . |
Modifier and Type | Method and Description |
---|---|
ASObject |
cloneASObject(boolean deep)
Deprecated.
Creates a copy of this
ASObject . |
short |
getAsNodeType()
Deprecated.
A code representing the underlying object as defined above.
|
String |
getLocalName()
Deprecated.
Returns the local part of the qualified name of this
ASObject . |
String |
getNamespaceURI()
Deprecated.
The namespace URI of this node, or
null if it is
unspecified. |
String |
getNodeName()
Deprecated.
The
name of this ASObject depending on the
ASObject type. |
ASModel |
getOwnerASModel()
Deprecated.
The
ASModel object associated with this
ASObject . |
String |
getPrefix()
Deprecated.
The namespace prefix of this node, or
null if it is
unspecified. |
void |
setLocalName(String localName)
Deprecated.
Returns the local part of the qualified name of this
ASObject . |
void |
setNamespaceURI(String namespaceURI)
Deprecated.
The namespace URI of this node, or
null if it is
unspecified. |
void |
setNodeName(String nodeName)
Deprecated.
The
name of this ASObject depending on the
ASObject type. |
void |
setOwnerASModel(ASModel ownerASModel)
Deprecated.
The
ASModel object associated with this
ASObject . |
void |
setPrefix(String prefix)
Deprecated.
The namespace prefix of this node, or
null if it is
unspecified. |
static final short AS_ELEMENT_DECLARATION
ASElementDeclaration
.static final short AS_ATTRIBUTE_DECLARATION
ASAttributeDeclaration
.static final short AS_NOTATION_DECLARATION
ASNotationDeclaration
.static final short AS_ENTITY_DECLARATION
ASEntityDeclaration
.static final short AS_CONTENTMODEL
ASContentModel
.static final short AS_MODEL
ASModel
.short getAsNodeType()
ASModel getOwnerASModel()
ASModel
object associated with this
ASObject
. For a node of type AS_MODEL
, this
is null
.void setOwnerASModel(ASModel ownerASModel)
ASModel
object associated with this
ASObject
. For a node of type AS_MODEL
, this
is null
.String getNodeName()
name
of this ASObject
depending on the
ASObject
type.void setNodeName(String nodeName)
name
of this ASObject
depending on the
ASObject
type.String getPrefix()
null
if it is
unspecified.void setPrefix(String prefix)
null
if it is
unspecified.String getLocalName()
ASObject
.void setLocalName(String localName)
ASObject
.String getNamespaceURI()
null
if it is
unspecified. defines how a namespace URI is attached to schema
components.void setNamespaceURI(String namespaceURI)
null
if it is
unspecified. defines how a namespace URI is attached to schema
components.ASObject cloneASObject(boolean deep)
ASObject
. See text for
cloneNode
off of Node
but substitute AS
functionality.deep
- Setting the deep
flag on, causes the whole
subtree to be duplicated. Setting it to false
only
duplicates its immediate child nodes.ASObject
.Copyright © 2016 JBoss by Red Hat. All rights reserved.