Top Fields Methods
org.apache.xerces.dom3.as

public Interface ASObject

Known Direct Subinterfaces
org.apache.xerces.dom3.as.ASAttributeDeclaration, org.apache.xerces.dom3.as.ASContentModel, org.apache.xerces.dom3.as.ASElementDeclaration, org.apache.xerces.dom3.as.ASEntityDeclaration, org.apache.xerces.dom3.as.ASModel, org.apache.xerces.dom3.as.ASNotationDeclaration

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.

Field Summary

Modifier and TypeField and Description
public static final short
AS_ATTRIBUTE_DECLARATION

The node is an ASAttributeDeclaration.

public static final short
AS_CONTENTMODEL

The node is a ASContentModel.

public static final short
AS_ELEMENT_DECLARATION

The node is an ASElementDeclaration.

public static final short
AS_ENTITY_DECLARATION

The node is an ASEntityDeclaration.

public static final short
AS_MODEL

The node is a ASModel.

public static final short
AS_NOTATION_DECLARATION

The node is a ASNotationDeclaration.

Method Summary

Modifier and TypeMethod and Description
public ASObject

Returns:

Cloned ASObject.
cloneASObject
(boolean
Setting the deep flag on, causes the whole subtree to be duplicated. Setting it to false only duplicates its immediate child nodes.
deep
)

Deprecated as a consequence of ASObject being deprecated.
Creates a copy of this ASObject.
public short
getAsNodeType()

A code representing the underlying object as defined above.

public String
getLocalName()

Returns the local part of the qualified name of this ASObject.

public String
getNamespaceURI()

The namespace URI of this node, or null if it is unspecified.

public String
getNodeName()

The name of this ASObject depending on the ASObject type.

public ASModel
getOwnerASModel()

Deprecated as a consequence of ASModel being deprecated.
The ASModel object associated with this ASObject.
public String
getPrefix()

The namespace prefix of this node, or null if it is unspecified.

public void
setLocalName(String localName)

Returns the local part of the qualified name of this ASObject.

public void
setNamespaceURI(String namespaceURI)

The namespace URI of this node, or null if it is unspecified.

public void
setNodeName(String nodeName)

The name of this ASObject depending on the ASObject type.

public void
setOwnerASModel(ASModel ownerASModel)

Deprecated as a consequence of ASModel being deprecated.
The ASModel object associated with this ASObject.
public void
setPrefix(String prefix)

The namespace prefix of this node, or null if it is unspecified.

Field Detail

AS_ATTRIBUTE_DECLARATIONback to summary
public static final short AS_ATTRIBUTE_DECLARATION

The node is an ASAttributeDeclaration.

AS_CONTENTMODELback to summary
public static final short AS_CONTENTMODEL

The node is a ASContentModel.

AS_ELEMENT_DECLARATIONback to summary
public static final short AS_ELEMENT_DECLARATION

The node is an ASElementDeclaration.

AS_ENTITY_DECLARATIONback to summary
public static final short AS_ENTITY_DECLARATION

The node is an ASEntityDeclaration.

AS_MODELback to summary
public static final short AS_MODEL

The node is a ASModel.

AS_NOTATION_DECLARATIONback to summary
public static final short AS_NOTATION_DECLARATION

The node is a ASNotationDeclaration.

Method Detail

cloneASObjectback to summary
public ASObject cloneASObject(boolean deep)

Deprecated

as a consequence of ASObject being deprecated. See corresponding docs for further information.

Creates a copy of this ASObject. See text for cloneNode off of Node but substitute AS functionality.

Parameters
deep:boolean

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

Returns:ASObject

Cloned ASObject.

getAsNodeTypeback to summary
public short getAsNodeType()

A code representing the underlying object as defined above.

getLocalNameback to summary
public String getLocalName()

Returns the local part of the qualified name of this ASObject.

getNamespaceURIback to summary
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.

getNodeNameback to summary
public String getNodeName()

The name of this ASObject depending on the ASObject type.

getOwnerASModelback to summary
public ASModel getOwnerASModel()

Deprecated

as a consequence of ASModel being deprecated. See corresponding docs for further information.

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

getPrefixback to summary
public String getPrefix()

The namespace prefix of this node, or null if it is unspecified.

setLocalNameback to summary
public void setLocalName(String localName)

Returns the local part of the qualified name of this ASObject.

setNamespaceURIback to summary
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.

setNodeNameback to summary
public void setNodeName(String nodeName)

The name of this ASObject depending on the ASObject type.

setOwnerASModelback to summary
public void setOwnerASModel(ASModel ownerASModel)

Deprecated

as a consequence of ASModel being deprecated. See corresponding docs for further information.

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

setPrefixback to summary
public void setPrefix(String prefix)

The namespace prefix of this node, or null if it is unspecified.