Apache CXF API

org.apache.cxf.tools.corba.idlpreprocessor
Class DefineState

java.lang.Object
  extended by org.apache.cxf.tools.corba.idlpreprocessor.DefineState

public class DefineState
extends Object

A registry for #define preprocessor instructions that allows tracking whether a symbol is defined or not.


Constructor Summary
DefineState(Map<String,String> initialDefines)
           
 
Method Summary
 void define(String symbol, String value)
           
 String getValue(String symbol)
           
 boolean isDefined(String symbol)
           
 void undefine(String symbol)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefineState

public DefineState(Map<String,String> initialDefines)
Method Detail

define

public void define(String symbol,
                   String value)

isDefined

public boolean isDefined(String symbol)

getValue

public String getValue(String symbol)

undefine

public void undefine(String symbol)

Apache CXF API

Apache CXF