org.obe.client.api.repository
Class EvaluatorMetaData

java.lang.Object
  extended byorg.obe.client.api.repository.AbstractMetaData
      extended byorg.obe.client.api.repository.EvaluatorMetaData
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
BSFEvaluatorMetaData, JaxenEvaluatorMetaData, JXPathEvaluatorMetaData

public abstract class EvaluatorMetaData
extends AbstractMetaData

Describes a user-defined evaluator call. Different evaluator types extend this class with the additional meta data required to instantiate the evaluator implementation itself.

Author:
Adrian Price
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.obe.client.api.repository.AbstractMetaData
_author, _description, _displayName, _docUrl, _id, _threadsafe, _type, allowInheritance, EMPTY_ARGS, NO_ARGS_SIG
 
Constructor Summary
protected EvaluatorMetaData()
           
protected EvaluatorMetaData(java.lang.String id, java.lang.String displayName, java.lang.String description, java.lang.String docUrl, java.lang.String author, boolean threadsafe, java.lang.String grammar)
          Constructs evaluator meta-data.
 
Method Summary
 java.lang.String getGrammar()
           
 void setGrammar(java.lang.String grammar)
           
 java.lang.String toString()
           
 
Methods inherited from class org.obe.client.api.repository.AbstractMetaData
createInstance, createInstance, createInstance, getAuthor, getDescription, getDisplayName, getDocUrl, getId, getImplClass, getImplCtorSig, getThreadsafe, getType, isThreadsafe, setAuthor, setDescription, setDisplayName, setDocUrl, setId, setThreadsafe, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EvaluatorMetaData

protected EvaluatorMetaData()

EvaluatorMetaData

protected EvaluatorMetaData(java.lang.String id,
                            java.lang.String displayName,
                            java.lang.String description,
                            java.lang.String docUrl,
                            java.lang.String author,
                            boolean threadsafe,
                            java.lang.String grammar)
Constructs evaluator meta-data.

Parameters:
id - The evaluator ID.
displayName - The display name.
description - Textual description of this evaluator.
docUrl - URL for documentation.
author - Author's name.
threadsafe -
grammar - Url of specification for script language grammar.
Method Detail

getGrammar

public java.lang.String getGrammar()

setGrammar

public void setGrammar(java.lang.String grammar)

toString

public java.lang.String toString()
Overrides:
toString in class AbstractMetaData


SourceForge.net Logo OBE-1.0 Copyright (c) 2002-2006 Adrian Price. All Rights Reserved.