org.apache.xerces.dom3.as

Interface ASObject

Known Subinterfaces:
ASAttributeDeclaration, ASContentModel, ASElementDeclaration, ASEntityDeclaration, ASModel, ASNotationDeclaration

public interface ASObject

Field Summary

static short
AS_ATTRIBUTE_DECLARATION
The node is an ASAttributeDeclaration.
static short
AS_CONTENTMODEL
The node is a ASContentModel.
static short
AS_ELEMENT_DECLARATION
The node is an ASElementDeclaration.
static short
AS_ENTITY_DECLARATION
The node is an ASEntityDeclaration.
static short
AS_MODEL
The node is a ASModel.
static short
AS_NOTATION_DECLARATION
The node is a ASNotationDeclaration.

Method Summary

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.

Field Details

AS_ATTRIBUTE_DECLARATION

public static final short AS_ATTRIBUTE_DECLARATION
The node is an ASAttributeDeclaration.

Field Value:
2


AS_CONTENTMODEL

public static final short AS_CONTENTMODEL
The node is a ASContentModel.

Field Value:
5


AS_ELEMENT_DECLARATION

public static final short AS_ELEMENT_DECLARATION
The node is an ASElementDeclaration.

Field Value:
1


AS_ENTITY_DECLARATION

public static final short AS_ENTITY_DECLARATION
The node is an ASEntityDeclaration.

Field Value:
4


AS_MODEL

public static final short AS_MODEL
The node is a ASModel.

Field Value:
6


AS_NOTATION_DECLARATION

public static final short AS_NOTATION_DECLARATION
The node is a ASNotationDeclaration.

Field Value:
3

Method Details

cloneASObject

public 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.

Returns:
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.