org.apache.xerces.impl.xs.opti

Class AttrImpl

public class AttrImpl extends NodeImpl implements Attr

This class represents a single attribute.

Version: $Id: AttrImpl.java,v 1.8 2005/05/02 22:00:52 mrglavas Exp $

Author: Rahul Srivastava, Sun Microsystems Inc.

UNKNOWN:

Constructor Summary
AttrImpl()
Default Constructor
AttrImpl(Element element, String prefix, String localpart, String rawname, String uri, String value)
Constructs an attribute.
Method Summary
StringgetName()
ElementgetOwnerElement()
TypeInfogetSchemaTypeInfo()
Method getSchemaTypeInfo.
booleangetSpecified()
StringgetValue()
booleanisId()
voidsetValue(String value)

Constructor Detail

AttrImpl

public AttrImpl()
Default Constructor

AttrImpl

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.

Method Detail

getName

public String getName()

getOwnerElement

public Element getOwnerElement()

getSchemaTypeInfo

public TypeInfo getSchemaTypeInfo()
Method getSchemaTypeInfo.

Returns: TypeInfo

getSpecified

public boolean getSpecified()

getValue

public String getValue()

isId

public boolean isId()

Since: DOM Level 3

setValue

public void setValue(String value)
Copyright B) 1999-2005 Apache XML Project. All Rights Reserved.