FileDocCategorySizeDatePackage
ASObject.javaAPI DocJava SE 5 API4198Fri Aug 26 14:55:44 BST 2005com.sun.org.apache.xerces.internal.dom3.as

ASObject

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

Fields Summary
public static final short
AS_ELEMENT_DECLARATION
The node is an ASElementDeclaration.
public static final short
AS_ATTRIBUTE_DECLARATION
The node is an ASAttributeDeclaration.
public static final short
AS_NOTATION_DECLARATION
The node is a ASNotationDeclaration.
public static final short
AS_ENTITY_DECLARATION
The node is an ASEntityDeclaration.
public static final short
AS_CONTENTMODEL
The node is a ASContentModel.
public static final short
AS_MODEL
The node is a ASModel.
Constructors Summary
Methods Summary
public com.sun.org.apache.xerces.internal.dom3.as.ASObjectcloneASObject(boolean deep)
Creates a copy of this ASObject. See text for cloneNode off of Node but substitute AS functionality.

param
deep Setting the deep flag on, causes the whole subtree to be duplicated. Setting it to false only duplicates its immediate child nodes.
return
Cloned ASObject.

public shortgetAsNodeType()
A code representing the underlying object as defined above.

public java.lang.StringgetLocalName()
Returns the local part of the qualified name of this ASObject.

public java.lang.StringgetNamespaceURI()
The namespace URI of this node, or null if it is unspecified. defines how a namespace URI is attached to schema components.

public java.lang.StringgetNodeName()
The name of this ASObject depending on the ASObject type.

public ASModelgetOwnerASModel()
The ASModel object associated with this ASObject. For a node of type AS_MODEL, this is null.

public java.lang.StringgetPrefix()
The namespace prefix of this node, or null if it is unspecified.

public voidsetLocalName(java.lang.String localName)
Returns the local part of the qualified name of this ASObject.

public voidsetNamespaceURI(java.lang.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 voidsetNodeName(java.lang.String nodeName)
The name of this ASObject depending on the ASObject type.

public voidsetOwnerASModel(ASModel ownerASModel)
The ASModel object associated with this ASObject. For a node of type AS_MODEL, this is null.

public voidsetPrefix(java.lang.String prefix)
The namespace prefix of this node, or null if it is unspecified.