public class

AttrImpl

extends NodeImpl
implements Attr
java.lang.Object
   ↳ org.apache.xerces.impl.xs.opti.DefaultNode
     ↳ org.apache.xerces.impl.xs.opti.NodeImpl
       ↳ org.apache.xerces.impl.xs.opti.AttrImpl

Class Overview

This class represents a single attribute.

Summary

[Expand]
Inherited Constants
From interface org.w3c.dom.Node
Public Constructors
AttrImpl()
Default Constructor
AttrImpl(Element element, String prefix, String localpart, String rawname, String uri, String value)
Constructs an attribute.
Public Methods
String getName()
Element getOwnerElement()
TypeInfo getSchemaTypeInfo()
Method getSchemaTypeInfo.
boolean getSpecified()
String getValue()
boolean isId()
void setValue(String value)
[Expand]
Inherited Methods
From class org.apache.xerces.impl.xs.opti.NodeImpl
From class org.apache.xerces.impl.xs.opti.DefaultNode
From class java.lang.Object
From interface org.w3c.dom.Attr
From interface org.w3c.dom.Node

Public Constructors

public AttrImpl ()

Default Constructor

public AttrImpl (Element element, String prefix, String localpart, String rawname, String uri, String value)

Constructs an attribute.

Parameters
element Element which owns this attribute
prefix The QName prefix.
localpart The QName localpart.
rawname The QName rawname.
uri The uri binding for the associated prefix.
value The value of the attribute.

Public Methods

public String getName ()

public Element getOwnerElement ()

public TypeInfo getSchemaTypeInfo ()

Method getSchemaTypeInfo.

Returns
  • TypeInfo

public boolean getSpecified ()

public String getValue ()

public boolean isId ()

public void setValue (String value)

Throws
DOMException