Package org.apache.cocoon.xml.sax
Class ImmutableAttributesImpl
- java.lang.Object
-
- org.xml.sax.helpers.AttributesImpl
-
- org.apache.cocoon.xml.sax.AttributesImpl
-
- org.apache.cocoon.xml.sax.ImmutableAttributesImpl
-
- All Implemented Interfaces:
Attributes
public class ImmutableAttributesImpl extends AttributesImpl
Immutable attributes
-
-
Constructor Summary
Constructors Constructor Description ImmutableAttributesImpl()
ImmutableAttributesImpl(Attributes attrs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.sax.AttributesImpl
addCDATAAttribute, addCDATAAttribute, addCDATAAttribute, removeAttribute, removeAttribute, update, updateCDATAAttribute
-
-
-
-
Constructor Detail
-
ImmutableAttributesImpl
public ImmutableAttributesImpl()
-
ImmutableAttributesImpl
public ImmutableAttributesImpl(Attributes attrs)
-
-
Method Detail
-
clear
public void clear()
- Overrides:
clear
in classAttributesImpl
-
removeAttribute
public void removeAttribute(int index)
- Overrides:
removeAttribute
in classAttributesImpl
-
setLocalName
public void setLocalName(int index, String localName)
- Overrides:
setLocalName
in classAttributesImpl
-
setQName
public void setQName(int index, String qName)
- Overrides:
setQName
in classAttributesImpl
-
setType
public void setType(int index, String type)
- Overrides:
setType
in classAttributesImpl
-
setURI
public void setURI(int index, String uri)
- Overrides:
setURI
in classAttributesImpl
-
setValue
public void setValue(int index, String value)
- Overrides:
setValue
in classAttributesImpl
-
setAttributes
public void setAttributes(Attributes atts)
- Overrides:
setAttributes
in classAttributesImpl
-
setAttribute
public void setAttribute(int index, String uri, String localName, String qName, String type, String value)
- Overrides:
setAttribute
in classAttributesImpl
-
addAttribute
public void addAttribute(String uri, String localName, String qName, String type, String value)
- Overrides:
addAttribute
in classAttributesImpl
-
-