Xindice API
version 1.1

org.apache.xindice.core.meta.inline
Class NullReader.NullMap

java.lang.Object
  |
  +--org.apache.xindice.core.meta.inline.NullReader.NullMap
All Implemented Interfaces:
InlineMetaMap
Enclosing class:
NullReader

public static class NullReader.NullMap
extends Object
implements InlineMetaMap

A VERY simple and efficient InlineMetaMap implementation that holds precisely nothing.


Constructor Summary
NullReader.NullMap()
           
 
Method Summary
 boolean containsKey(String key)
          Return true if the map contains the specified key.
 Object get(String key)
          Return the value associated with the specified key.
 String[] keys()
          Returns an array containing the keys found in the map.
 void put(String key, Object value)
          Set the value associated with the given key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullReader.NullMap

public NullReader.NullMap()
Method Detail

containsKey

public boolean containsKey(String key)
Description copied from interface: InlineMetaMap
Return true if the map contains the specified key.
Specified by:
containsKey in interface InlineMetaMap
See Also:
InlineMetaMap.containsKey(String)

get

public Object get(String key)
           throws InlineMetaException
Description copied from interface: InlineMetaMap
Return the value associated with the specified key.
Specified by:
get in interface InlineMetaMap
See Also:
InlineMetaMap.get(String)

keys

public String[] keys()
Description copied from interface: InlineMetaMap
Returns an array containing the keys found in the map.
Specified by:
keys in interface InlineMetaMap
See Also:
InlineMetaMap.keys()

put

public void put(String key,
                Object value)
         throws InlineMetaException
Description copied from interface: InlineMetaMap
Set the value associated with the given key.
Specified by:
put in interface InlineMetaMap
See Also:
InlineMetaMap.put(String,Object)

Xindice API
version 1.1

Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.