org.apache.xerces.dom3.as
Interface ASObject
- ASAttributeDeclaration, ASContentModel, ASElementDeclaration, ASEntityDeclaration, ASModel, ASNotationDeclaration
public interface ASObject
ASObject | cloneASObject(boolean deep) - Creates a copy of this
ASObject .
|
short | getAsNodeType() - A code representing the underlying object as defined above.
|
String | getLocalName() - Returns the local part of the qualified name of this
ASObject .
|
String | getNamespaceURI() - The namespace URI of this node, or
null if it is
unspecified.
|
String | getNodeName() - The
name of this ASObject depending on the
ASObject type.
|
ASModel | getOwnerASModel() - The
ASModel object associated with this
ASObject .
|
String | getPrefix() - The namespace prefix of this node, or
null if it is
unspecified.
|
void | setLocalName(String localName) - Returns the local part of the qualified name of this
ASObject .
|
void | setNamespaceURI(String namespaceURI) - The namespace URI of this node, or
null if it is
unspecified.
|
void | setNodeName(String nodeName) - The
name of this ASObject depending on the
ASObject type.
|
void | setOwnerASModel(ASModel ownerASModel) - The
ASModel object associated with this
ASObject .
|
void | setPrefix(String prefix) - The namespace prefix of this node, or
null if it is
unspecified.
|
AS_ATTRIBUTE_DECLARATION
public static final short AS_ATTRIBUTE_DECLARATION
The node is an ASAttributeDeclaration
.
- 2
AS_CONTENTMODEL
public static final short AS_CONTENTMODEL
The node is a ASContentModel
.
- 5
AS_ELEMENT_DECLARATION
public static final short AS_ELEMENT_DECLARATION
The node is an ASElementDeclaration
.
- 1
AS_ENTITY_DECLARATION
public static final short AS_ENTITY_DECLARATION
The node is an ASEntityDeclaration
.
- 4
AS_MODEL
public static final short AS_MODEL
The node is a ASModel
.
- 6
AS_NOTATION_DECLARATION
public static final short AS_NOTATION_DECLARATION
The node is a ASNotationDeclaration
.
- 3
cloneASObject
public ASObject cloneASObject(boolean deep)
Creates a copy of this 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.
- Cloned
ASObject
.
getAsNodeType
public short getAsNodeType()
A code representing the underlying object as defined above.
getLocalName
public String getLocalName()
Returns the local part of the qualified name of this
ASObject
.
getNamespaceURI
public String getNamespaceURI()
The namespace URI of this node, or null
if it is
unspecified. defines how a namespace URI is attached to schema
components.
getNodeName
public String getNodeName()
The name
of this ASObject
depending on the
ASObject
type.
getOwnerASModel
public ASModel getOwnerASModel()
The ASModel
object associated with this
ASObject
. For a node of type AS_MODEL
, this
is null
.
getPrefix
public String getPrefix()
The namespace prefix of this node, or null
if it is
unspecified.
setLocalName
public void setLocalName(String localName)
Returns the local part of the qualified name of this
ASObject
.
setNamespaceURI
public 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.
setNodeName
public void setNodeName(String nodeName)
The name
of this ASObject
depending on the
ASObject
type.
setOwnerASModel
public void setOwnerASModel(ASModel ownerASModel)
The ASModel
object associated with this
ASObject
. For a node of type AS_MODEL
, this
is null
.
setPrefix
public void setPrefix(String prefix)
The namespace prefix of this node, or null
if it is
unspecified.
Copyright B) 1999-2004 Apache XML Project. All Rights Reserved.