Home » freemarker-2.3.13 » freemarker.debug » [javadoc | source]
freemarker.debug
public interface: DebugModel [javadoc | source]

All Implemented Interfaces:
    Remote

All Known Implementing Classes:
    RmiDebuggedEnvironmentImpl, RmiDebugModelImpl, DebuggedEnvironment

Represents the debugger-side mirror of a TemplateModel object, a Template object, or a Configuration object. The Environment objects are also represented by instances of this model, although not directly but through a separate subinterface DebuggedEnvironment . The interface is a union of almost all of FreeMarker template models with identical method signatures. For purposes of optimizing network traffic there are bulk retrieval methods for sequences and hashes, as well as a #getModelTypes() method that returns a bit mask of various TYPE_xxx constants flagging which template models are implemented by the mirrored object.
Field Summary
public static final  int TYPE_SCALAR     
public static final  int TYPE_NUMBER     
public static final  int TYPE_DATE     
public static final  int TYPE_BOOLEAN     
public static final  int TYPE_SEQUENCE     
public static final  int TYPE_COLLECTION     
public static final  int TYPE_HASH     
public static final  int TYPE_HASH_EX     
public static final  int TYPE_METHOD     
public static final  int TYPE_METHOD_EX     
public static final  int TYPE_TRANSFORM     
public static final  int TYPE_ENVIRONMENT     
public static final  int TYPE_TEMPLATE     
public static final  int TYPE_CONFIGURATION     
Method from freemarker.debug.DebugModel Summary:
get,   get,   get,   get,   getAsBoolean,   getAsDate,   getAsNumber,   getAsString,   getCollection,   getDateType,   getModelTypes,   keys,   size
Method from freemarker.debug.DebugModel Detail:
 public DebugModel get(int index) throws TemplateModelException, RemoteException
 public DebugModel get(String key) throws TemplateModelException, RemoteException
 public DebugModel[] get(String[] keys) throws TemplateModelException, RemoteException
 public DebugModel[] get(int fromIndex,
    int toIndex) throws TemplateModelException, RemoteException
 public boolean getAsBoolean() throws TemplateModelException, RemoteException
 public Date getAsDate() throws TemplateModelException, RemoteException
 public Number getAsNumber() throws TemplateModelException, RemoteException
 public String getAsString() throws TemplateModelException, RemoteException
 public DebugModel[] getCollection() throws TemplateModelException, RemoteException
 public int getDateType() throws TemplateModelException, RemoteException
 public int getModelTypes() throws RemoteException
 public String[] keys() throws TemplateModelException, RemoteException
 public int size() throws TemplateModelException, RemoteException