org.apache.xerces.dom

Class DOMNormalizer.XMLAttributesProxy

protected final class DOMNormalizer.XMLAttributesProxy extends Object implements XMLAttributes

Field Summary
protected AttributeMapfAttributes
protected VectorfAugmentations
protected CoreDocumentImplfDocument
protected ElementImplfElement
Method Summary
intaddAttribute(QName qname, String attrType, String attrValue)
This method adds default declarations
AugmentationsgetAugmentations(int attributeIndex)
AugmentationsgetAugmentations(String uri, String localPart)
AugmentationsgetAugmentations(String qName)
intgetIndex(String qName)
intgetIndex(String uri, String localPart)
intgetLength()
StringgetLocalName(int index)
voidgetName(int attrIndex, QName attrName)
StringgetNonNormalizedValue(int attrIndex)
StringgetPrefix(int index)
StringgetQName(int index)
StringgetType(int index)
StringgetType(String qName)
StringgetType(String uri, String localName)
StringgetURI(int index)
StringgetValue(int index)
StringgetValue(String qName)
StringgetValue(String uri, String localName)
booleanisSpecified(int attrIndex)
voidremoveAllAttributes()
voidremoveAttributeAt(int attrIndex)
voidsetAttributes(AttributeMap attributes, CoreDocumentImpl doc, ElementImpl elem)
voidsetAugmentations(int attrIndex, Augmentations augs)
Sets the augmentations of the attribute at the specified index.
voidsetName(int attrIndex, QName attrName)
voidsetNonNormalizedValue(int attrIndex, String attrValue)
voidsetSpecified(int attrIndex, boolean specified)
voidsetType(int attrIndex, String attrType)
voidsetValue(int attrIndex, String attrValue)

Field Detail

fAttributes

protected AttributeMap fAttributes

fAugmentations

protected final Vector fAugmentations

fDocument

protected CoreDocumentImpl fDocument

fElement

protected ElementImpl fElement

Method Detail

addAttribute

public int addAttribute(QName qname, String attrType, String attrValue)
This method adds default declarations

See Also: org.apache.xerces.xni.XMLAttributes#addAttribute(QName, String, String)

getAugmentations

public Augmentations getAugmentations(int attributeIndex)

getAugmentations

public Augmentations getAugmentations(String uri, String localPart)

getAugmentations

public Augmentations getAugmentations(String qName)

getIndex

public int getIndex(String qName)

getIndex

public int getIndex(String uri, String localPart)

getLength

public int getLength()

getLocalName

public String getLocalName(int index)

getName

public void getName(int attrIndex, QName attrName)

getNonNormalizedValue

public String getNonNormalizedValue(int attrIndex)

getPrefix

public String getPrefix(int index)

getQName

public String getQName(int index)

getType

public String getType(int index)

getType

public String getType(String qName)

getType

public String getType(String uri, String localName)

getURI

public String getURI(int index)

getValue

public String getValue(int index)

getValue

public String getValue(String qName)

getValue

public String getValue(String uri, String localName)

isSpecified

public boolean isSpecified(int attrIndex)

removeAllAttributes

public void removeAllAttributes()

removeAttributeAt

public void removeAttributeAt(int attrIndex)

setAttributes

public void setAttributes(AttributeMap attributes, CoreDocumentImpl doc, ElementImpl elem)

setAugmentations

public void setAugmentations(int attrIndex, Augmentations augs)
Sets the augmentations of the attribute at the specified index.

Parameters: attrIndex The attribute index. augs The augmentations.

setName

public void setName(int attrIndex, QName attrName)

setNonNormalizedValue

public void setNonNormalizedValue(int attrIndex, String attrValue)

setSpecified

public void setSpecified(int attrIndex, boolean specified)

setType

public void setType(int attrIndex, String attrType)

setValue

public void setValue(int attrIndex, String attrValue)
Copyright © 1999-2005 Apache XML Project. All Rights Reserved.