Xindice API
version 1.2m1

org.apache.xindice.core.meta.inline
Class ResourceTypeReader.ResourceTypeMap

java.lang.Object
  extended byorg.apache.xindice.core.meta.inline.ResourceTypeReader.ResourceTypeMap
All Implemented Interfaces:
InlineMetaMap
Enclosing class:
ResourceTypeReader

public static class ResourceTypeReader.ResourceTypeMap
extends Object
implements InlineMetaMap

A simple and efficient Map implementation that holds the attributes available from a ResourceType header.


Constructor Summary
ResourceTypeReader.ResourceTypeMap()
           
 
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

ResourceTypeReader.ResourceTypeMap

public ResourceTypeReader.ResourceTypeMap()
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
Throws:
InlineMetaException
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
Throws:
InlineMetaException
See Also:
InlineMetaMap.put(String, Object)

Xindice API
version 1.2m1

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