Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.xerces.dom3.as
Interface ASObject

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

public interface ASObject

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
`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.
`java.lang.String` | `getLocalName()` Returns the local part of the qualified name of this `ASObject`.
`java.lang.String` | `getNamespaceURI()` The namespace URI of this node, or `null` if it is unspecified.
`java.lang.String` | `getNodeName()` The `name` of this `ASObject` depending on the `ASObject` type.
`ASModel` | `getOwnerASModel()` The `ASModel` object associated with this `ASObject`.
`java.lang.String` | `getPrefix()` The namespace prefix of this node, or `null` if it is unspecified.
`void` | `setLocalName(java.lang.String localName)` Returns the local part of the qualified name of this `ASObject`.
`void` | `setNamespaceURI(java.lang.String namespaceURI)` The namespace URI of this node, or `null` if it is unspecified.
`void` | `setNodeName(java.lang.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(java.lang.String prefix)` The namespace prefix of this node, or `null` if it is unspecified.

Field Detail

### AS_ELEMENT_DECLARATION

    public static final short AS_ELEMENT_DECLARATION

  The node is an `ASElementDeclaration`.

### AS_ATTRIBUTE_DECLARATION

    public static final short AS_ATTRIBUTE_DECLARATION

  The node is an `ASAttributeDeclaration`.

### AS_NOTATION_DECLARATION

    public static final short AS_NOTATION_DECLARATION

  The node is a `ASNotationDeclaration`.

### AS_ENTITY_DECLARATION

    public static final short AS_ENTITY_DECLARATION

  The node is an `ASEntityDeclaration`.

### AS_CONTENTMODEL

    public static final short AS_CONTENTMODEL

  The node is a `ASContentModel`.

### AS_MODEL

    public static final short AS_MODEL

  The node is a `ASModel`.

Method Detail

### getAsNodeType

    public short getAsNodeType()

  A code representing the underlying object as defined above.

### getOwnerASModel

    public ASModel getOwnerASModel()

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

### setOwnerASModel

    public void setOwnerASModel(ASModel ownerASModel)

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

### getNodeName

    public java.lang.String getNodeName()

  The `name` of this `ASObject` depending on the `ASObject` type.

### setNodeName

    public void setNodeName(java.lang.String nodeName)

  The `name` of this `ASObject` depending on the `ASObject` type.

### getPrefix

    public java.lang.String getPrefix()

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

### setPrefix

    public void setPrefix(java.lang.String prefix)

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

### getLocalName

    public java.lang.String getLocalName()

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

### setLocalName

    public void setLocalName(java.lang.String localName)

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

### getNamespaceURI

    public java.lang.String getNamespaceURI()

  The namespace URI of this node, or `null` if it is unspecified. defines how a namespace URI is attached to schema components.

### setNamespaceURI

    public void setNamespaceURI(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.

### 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`.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 1999-2003 Apache XML Project. All Rights Reserved.