com.itextpdf.tool.xml.pipeline.ctx
Class MapContext

java.lang.Object
  extended by com.itextpdf.tool.xml.pipeline.ctx.MapContext
All Implemented Interfaces:
CustomContext

public class MapContext
extends Object
implements CustomContext

A CustomContext that holds data in a Map

Author:
redlab_b

Constructor Summary
MapContext()
           
 
Method Summary
 Object get(String key)
           
 void put(String key, Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapContext

public MapContext()
Method Detail

get

public Object get(String key)
Parameters:
key - the key
Returns:
the object belonging to the key or null if not found

put

public void put(String key,
                Object o)
Parameters:
key - the key
o - the object to put.


Copyright © 2012. All Rights Reserved.