org.apache.cocoon.xml
Class ImmutableAttributesImpl

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

public class ImmutableAttributesImpl
extends AttributesImpl

Immutable attributes

Version:
$Id: ImmutableAttributesImpl.html 1304280 2012-03-23 11:18:01Z 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()

removeAttribute

public void removeAttribute(int index)

setLocalName

public void setLocalName(int index,
                         String localName)

setQName

public void setQName(int index,
                     String qName)

setType

public void setType(int index,
                    String type)

setURI

public void setURI(int index,
                   String uri)

setValue

public void setValue(int index,
                     String value)

setAttributes

public void setAttributes(Attributes atts)

setAttribute

public void setAttribute(int index,
                         String uri,
                         String localName,
                         String qName,
                         String type,
                         String value)

addAttribute

public void addAttribute(String uri,
                         String localName,
                         String qName,
                         String type,
                         String value)


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