1 16 package org.apache.cocoon.xml; 17 18 import org.xml.sax.Attributes ; 19 20 25 public class ImmutableAttributesImpl extends AttributesImpl { 26 27 public ImmutableAttributesImpl() { 28 super(); 29 } 30 31 public ImmutableAttributesImpl(Attributes attrs) { 32 super(attrs); 33 } 34 35 public void clear() { 36 throw new UnsupportedOperationException ("immutable attributes"); 37 } 38 39 public void removeAttribute(int index) { 40 throw new UnsupportedOperationException ("immutable attributes"); 41 } 42 43 public void setLocalName(int index, String localName) { 44 throw new UnsupportedOperationException ("immutable attributes"); 45 } 46 47 public void setQName(int index, String qName) { 48 throw new UnsupportedOperationException ("immutable attributes"); 49 } 50 51 public void setType(int index, String type) { 52 throw new UnsupportedOperationException ("immutable attributes"); 53 } 54 55 public void setURI(int index, String uri) { 56 throw new UnsupportedOperationException ("immutable attributes"); 57 } 58 59 public void setValue(int index, String value) { 60 throw new UnsupportedOperationException ("immutable attributes"); 61 } 62 63 public void setAttributes(Attributes atts) { 64 throw new UnsupportedOperationException ("immutable attributes"); 65 } 66 67 public void setAttribute(int index, String uri, String localName, String qName, String type, String value) { 68 throw new UnsupportedOperationException ("immutable attributes"); 69 } 70 71 public void addAttribute(String uri, String localName, String qName, String type, String value) { 72 throw new UnsupportedOperationException ("immutable attributes"); 73 } 74 } 75 | Popular Tags |