com.arsdigita.templating.html
Class AttributeMapImpl

java.lang.Object
  extended bycom.arsdigita.templating.html.AttributeMapImpl
All Implemented Interfaces:
AttributeMap

public final class AttributeMapImpl
extends Object
implements AttributeMap

An implementation of the AttributeMap interface.

Since:
2002-08-29
Version:
$Id: //core-platform/dev/src/com/arsdigita/templating/html/AttributeMapImpl.java#4 $
Author:
Vadim Nasardinov (vadimn@redhat.com)

Nested Class Summary
 
Nested classes inherited from class com.arsdigita.templating.html.AttributeMap
AttributeMap.Pair
 
Constructor Summary
AttributeMapImpl()
           
AttributeMapImpl(org.xml.sax.Attributes attrs)
           
 
Method Summary
 boolean contains(String qName)
          Returns true if the attribute map contains an attribute named qName.
 String getValue(String qName)
          Returns the value of the attribute named qName.
 Iterator keys()
          Returns an iterator over the attribute names contained in this map.
 Iterator pairs()
          Returns an iterator over name-value pairs contained in this map.
 void putValue(String qName, String value)
           
 int size()
          Returns the number of attributes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeMapImpl

public AttributeMapImpl()

AttributeMapImpl

public AttributeMapImpl(org.xml.sax.Attributes attrs)
Method Detail

contains

public boolean contains(String qName)
Description copied from interface: AttributeMap
Returns true if the attribute map contains an attribute named qName.

Specified by:
contains in interface AttributeMap

getValue

public String getValue(String qName)
Description copied from interface: AttributeMap
Returns the value of the attribute named qName.

Specified by:
getValue in interface AttributeMap

putValue

public void putValue(String qName,
                     String value)

size

public int size()
Description copied from interface: AttributeMap
Returns the number of attributes.

Specified by:
size in interface AttributeMap

keys

public Iterator keys()
Description copied from interface: AttributeMap
Returns an iterator over the attribute names contained in this map.

Specified by:
keys in interface AttributeMap

pairs

public Iterator pairs()
Description copied from interface: AttributeMap
Returns an iterator over name-value pairs contained in this map.

Specified by:
pairs in interface AttributeMap


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC