flexjson.locators
Class StaticClassLocator

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

public class StaticClassLocator
extends 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(Class clazz)
           
 
Method Summary
 Class locate(ObjectBinder context, 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(Class clazz)
Method Detail

locate

public Class locate(ObjectBinder context,
                    Path currentPath)
Specified by:
locate in interface ClassLocator


Copyright © 2014. All Rights Reserved.