org.apache.jetspeed.rewriter
Interface MutableAttributes

All Superinterfaces:
Attributes
All Known Implementing Classes:
SwingAttributes, XMLAttributesWrapper

public interface MutableAttributes
extends Attributes

MutableAttributes

Version:
$Id: MutableAttributes.java 188328 2005-02-08 19:08:40Z rogerrut $
Author:
David Sean Taylor

Method Summary
 void addAttribute(String name, Object value)
          Creates a new attribute set similar to this one except that it contains an attribute with the given name and value.
 
Methods inherited from interface org.xml.sax.Attributes
getIndex, getIndex, getLength, getLocalName, getQName, getType, getType, getType, getURI, getValue, getValue, getValue
 

Method Detail

addAttribute

public void addAttribute(String name,
                         Object value)
Creates a new attribute set similar to this one except that it contains an attribute with the given name and value. The object must be immutable, or not mutated by any client.

Parameters:
name - the name
value - the value


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.