org.apache.cocoon.sax.util
Class ImmutableAttributesImpl

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

public class ImmutableAttributesImpl
extends AttributesImpl

Immutable attributes

Version:
$Id: ImmutableAttributesImpl.html 1343757 2012-05-29 14:45:42Z 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.sax.util.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 org.xml.sax.helpers.AttributesImpl

removeAttribute

public void removeAttribute(int index)
Overrides:
removeAttribute in class org.xml.sax.helpers.AttributesImpl

setLocalName

public void setLocalName(int index,
                         String localName)
Overrides:
setLocalName in class org.xml.sax.helpers.AttributesImpl

setQName

public void setQName(int index,
                     String qName)
Overrides:
setQName in class org.xml.sax.helpers.AttributesImpl

setType

public void setType(int index,
                    String type)
Overrides:
setType in class org.xml.sax.helpers.AttributesImpl

setURI

public void setURI(int index,
                   String uri)
Overrides:
setURI in class org.xml.sax.helpers.AttributesImpl

setValue

public void setValue(int index,
                     String value)
Overrides:
setValue in class org.xml.sax.helpers.AttributesImpl

setAttributes

public void setAttributes(Attributes atts)
Overrides:
setAttributes in class org.xml.sax.helpers.AttributesImpl

setAttribute

public void setAttribute(int index,
                         String uri,
                         String localName,
                         String qName,
                         String type,
                         String value)
Overrides:
setAttribute in class org.xml.sax.helpers.AttributesImpl

addAttribute

public void addAttribute(String uri,
                         String localName,
                         String qName,
                         String type,
                         String value)
Overrides:
addAttribute in class org.xml.sax.helpers.AttributesImpl


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