FileDocCategorySizeDatePackage
AttrImpl.javaAPI DocApache Xerces 3.0.12766Fri Sep 14 20:33:52 BST 2007org.apache.xerces.impl.xs.opti

AttrImpl

public class AttrImpl extends NodeImpl implements Attr
This class represents a single attribute.
xerces.internal
author
Rahul Srivastava, Sun Microsystems Inc.
version
$Id: AttrImpl.java 446728 2006-09-15 20:43:46Z mrglavas $

Fields Summary
Element
element
String
value
Constructors Summary
public AttrImpl()
Default Constructor

        nodeType = Node.ATTRIBUTE_NODE;
    
public AttrImpl(Element element, String prefix, String localpart, String rawname, String uri, String value)
Constructs an attribute.

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

        super(prefix, localpart, rawname, uri, Node.ATTRIBUTE_NODE);
        this.element = element;
        this.value = value;
    
Methods Summary
public java.lang.StringgetName()

        return rawname;
    
public org.w3c.dom.ElementgetOwnerElement()

        return element;
    
public org.w3c.dom.TypeInfogetSchemaTypeInfo()
Method getSchemaTypeInfo.

return
TypeInfo

      return null;
    
public booleangetSpecified()

        return true;
    
public java.lang.StringgetValue()

        return value;
    
public booleanisId()

since
DOM Level 3

        return false;
    
public voidsetValue(java.lang.String value)

        this.value = value;