org.tigris.gef.ocl
Class OCLExpander

java.lang.Object
  extended by org.tigris.gef.ocl.OCLExpander

public class OCLExpander
extends java.lang.Object


Field Summary
 java.util.Hashtable _bindings
           
 java.util.Map _templates
           
 boolean _useXMLEscapes
           
protected  OCLEvaluator evaluator
           
static java.lang.String OCL_END
           
static java.lang.String OCL_START
           
 
Constructor Summary
OCLExpander(java.util.Map templates)
           
 
Method Summary
protected  void createEvaluator()
           
 void expand(java.io.OutputStream w, java.lang.Object target)
           
 void expand(java.io.Writer w, java.lang.Object target)
           
 void expand(java.io.Writer w, java.lang.Object target, java.lang.String prefix)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OCL_START

public static java.lang.String OCL_START

OCL_END

public static java.lang.String OCL_END

_templates

public java.util.Map _templates

_bindings

public java.util.Hashtable _bindings

_useXMLEscapes

public boolean _useXMLEscapes

evaluator

protected OCLEvaluator evaluator
Constructor Detail

OCLExpander

public OCLExpander(java.util.Map templates)
Method Detail

createEvaluator

protected void createEvaluator()

expand

public void expand(java.io.OutputStream w,
                   java.lang.Object target)
            throws ExpansionException
Throws:
ExpansionException

expand

public void expand(java.io.Writer w,
                   java.lang.Object target)
            throws ExpansionException
Throws:
ExpansionException

expand

public void expand(java.io.Writer w,
                   java.lang.Object target,
                   java.lang.String prefix)
            throws ExpansionException
Throws:
ExpansionException