flexjson.locators
Class StaticClassLocator

java.lang.Object
  extended by flexjson.locators.StaticClassLocator
All Implemented Interfaces:
ClassLocator

public class StaticClassLocator
extends java.lang.Object
implements ClassLocator

Simple implementation for translating an object path to a single class. Normally you would not use this class directly and use the JSONDeserializer.use(String, Class) method instead.


Constructor Summary
StaticClassLocator(java.lang.Class clazz)
           
 
Method Summary
 java.lang.Class locate(java.util.Map map, Path currentPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticClassLocator

public StaticClassLocator(java.lang.Class clazz)
Method Detail

locate

public java.lang.Class locate(java.util.Map map,
                              Path currentPath)
Specified by:
locate in interface ClassLocator