org.apache.cocoon.xml
Class ImmutableAttributesImpl

java.lang.Object
  extended by org.xml.sax.helpers.AttributesImpl
      extended by org.apache.cocoon.xml.AttributesImpl
          extended by org.apache.cocoon.xml.ImmutableAttributesImpl
All Implemented Interfaces:
Attributes

public class ImmutableAttributesImpl
extends AttributesImpl

Immutable attributes

Version:
$Id: ImmutableAttributesImpl.html 1304258 2012-03-23 10:09:27Z ilgrosso $

Constructor Summary
ImmutableAttributesImpl()
           
ImmutableAttributesImpl(Attributes attrs)
           
 
Method Summary
 void addAttribute(String uri, String localName, String qName, String type, String value)
           
 void clear()
           
 void removeAttribute(int index)
           
 void setAttribute(int index, String uri, String localName, String qName, String type, String value)
           
 void setAttributes(Attributes atts)
           
 void setLocalName(int index, String localName)
           
 void setQName(int index, String qName)
           
 void setType(int index, String type)
           
 void setURI(int index, String uri)
           
 void setValue(int index, String value)
           
 
Methods inherited from class org.apache.cocoon.xml.AttributesImpl
addCDATAAttribute, addCDATAAttribute, addCDATAAttribute, removeAttribute, removeAttribute
 
Methods inherited from class org.xml.sax.helpers.AttributesImpl
getIndex, getIndex, getLength, getLocalName, getQName, getType, getType, getType, getURI, getValue, getValue, getValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImmutableAttributesImpl

public ImmutableAttributesImpl()

ImmutableAttributesImpl

public ImmutableAttributesImpl(Attributes attrs)
Method Detail

clear

public void clear()
Overrides:
clear in class AttributesImpl

removeAttribute

public void removeAttribute(int index)
Overrides:
removeAttribute in class AttributesImpl

setLocalName

public void setLocalName(int index,
                         String localName)
Overrides:
setLocalName in class AttributesImpl

setQName

public void setQName(int index,
                     String qName)
Overrides:
setQName in class AttributesImpl

setType

public void setType(int index,
                    String type)
Overrides:
setType in class AttributesImpl

setURI

public void setURI(int index,
                   String uri)
Overrides:
setURI in class AttributesImpl

setValue

public void setValue(int index,
                     String value)
Overrides:
setValue in class AttributesImpl

setAttributes

public void setAttributes(Attributes atts)
Overrides:
setAttributes in class AttributesImpl

setAttribute

public void setAttribute(int index,
                         String uri,
                         String localName,
                         String qName,
                         String type,
                         String value)
Overrides:
setAttribute in class AttributesImpl

addAttribute

public void addAttribute(String uri,
                         String localName,
                         String qName,
                         String type,
                         String value)
Overrides:
addAttribute in class AttributesImpl


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.