public interface

ASObject

org.apache.xerces.dom3.as.ASObject
Known Indirect Subclasses

This interface is deprecated.
The 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.

Summary

Constants
short AS_ATTRIBUTE_DECLARATION The node is an ASAttributeDeclaration.
short AS_CONTENTMODEL The node is a ASContentModel.
short AS_ELEMENT_DECLARATION The node is an ASElementDeclaration.
short AS_ENTITY_DECLARATION The node is an ASEntityDeclaration.
short AS_MODEL The node is a ASModel.
short AS_NOTATION_DECLARATION The node is a ASNotationDeclaration.
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

The node is a ASModel.

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.
Returns
  • Cloned ASObject.

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.