org.apache.jetspeed.rewriter.html
Class SwingAttributes
java.lang.Object
org.apache.jetspeed.rewriter.html.SwingAttributes
- All Implemented Interfaces:
- MutableAttributes, Attributes
public class SwingAttributes
- extends Object
- implements MutableAttributes
SwingAttributes
- Version:
- $Id: SwingAttributes.java 516448 2007-03-09 16:25:47Z ate $
- Author:
- David Sean Taylor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
swingset
MutableAttributeSet swingset
SwingAttributes
public SwingAttributes(MutableAttributeSet swingset)
getLength
public int getLength()
- Specified by:
getLength
in interface Attributes
getURI
public String getURI(int index)
- Specified by:
getURI
in interface Attributes
getLocalName
public String getLocalName(int index)
- Specified by:
getLocalName
in interface Attributes
getQName
public String getQName(int index)
- Specified by:
getQName
in interface Attributes
getType
public String getType(int index)
- Specified by:
getType
in interface Attributes
getValue
public String getValue(int index)
- Specified by:
getValue
in interface Attributes
getIndex
public int getIndex(String uri,
String localPart)
- Specified by:
getIndex
in interface Attributes
getIndex
public int getIndex(String qName)
- Specified by:
getIndex
in interface Attributes
getType
public String getType(String uri,
String localName)
- Specified by:
getType
in interface Attributes
getType
public String getType(String qName)
- Specified by:
getType
in interface Attributes
getValue
public String getValue(String uri,
String localName)
- Specified by:
getValue
in interface Attributes
getValue
public String getValue(String qName)
- Specified by:
getValue
in interface Attributes
addAttribute
public void addAttribute(String name,
Object value)
- Description copied from interface:
MutableAttributes
- 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.
- Specified by:
addAttribute
in interface MutableAttributes
- Parameters:
name
- the namevalue
- the value
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.