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 516448 2007-03-09 16:25:47Z ate $
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

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-2007 Apache Software Foundation. All Rights Reserved.