com.infoteria.asteria.flowengine2.compile
Class CompilerBase

java.lang.Object
  |
  +--com.infoteria.asteria.flowengine2.compile.AbstractCompiler
        |
        +--com.infoteria.asteria.flowengine2.compile.CompilerBase
Direct Known Subclasses:
ComponentCompiler

public class CompilerBase
extends AbstractCompiler

Flowで使用するコンパイラの基底クラス


Field Summary
protected static String _A_ACCESS
           
protected static String _A_BREAKPOINT
           
protected static String _A_CATEGORY
           
protected static String _A_CONNECTOR
           
protected static String _A_DEFAULT
           
protected static String _A_ENABLED
           
protected static String _A_FILENAME
           
protected static String _A_FILEPATH
           
protected static String _A_FORMAT
           
protected static String _A_FRACTION_LENGTH
           
protected static String _A_ID
           
protected static String _A_LENGTH
           
protected static String _A_MACRO
           
protected static String _A_NAME
           
protected static String _A_NODETYPE
           
protected static String _A_PARTS
           
protected static String _A_PREFIX
           
protected static String _A_PRIORITY
           
protected static String _A_REPEAT
           
protected static String _A_START_POSITION
           
protected static String _A_STATE
           
protected static String _A_STREAM
           
protected static String _A_TYPE
           
protected static String _A_URI
           
protected static String _A_VERSION
           
protected static String _E_COMPONENT
           
protected static String _E_EXTERNAL
           
protected static String _E_FIELD
           
protected static String _E_FLOW
           
protected static String _E_INPUT
           
protected static String _E_ITEM
           
protected static String _E_LINK
           
protected static String _E_LOG
           
protected static String _E_NAMESPACE
           
protected static String _E_OUTPUT
           
protected static String _E_PROJECT
           
protected static String _E_PROPERTY
           
protected static String _E_ROW
           
protected static String _E_VARIABLE
           
protected static String _E_VARIABLES
           
protected static String _E_WEBSERVICE
           
protected static String _V_ALLOW_INVOKE
           
protected static String _V_CACHE_TYPE
           
protected static String _V_DEBUG_LOG
           
protected static String _V_DEFAULT
           
protected static String _V_EXCEPTION
           
protected static String _V_FIELDS
           
protected static String _V_LOGLEVEL
           
protected static String _V_LOGNAME
           
protected static String _V_OUTPUT_DEFAULT
           
protected static String _V_PRIVATE
           
protected static String _V_PROJECT
           
protected static String _V_PUBLIC
           
protected static String _V_SESSION
           
protected static String _V_SESSION_VARIABLES
           
protected static String _V_SYSTEM_VARIABLES
           
protected static String _V_TIMEOUT
           
protected static String _V_VARIABLES
           
 
Fields inherited from class com.infoteria.asteria.flowengine2.compile.AbstractCompiler
log, WARN_0, WARN_1
 
Constructor Summary
CompilerBase()
           
 
Method Summary
protected  ErrorInfo createErrorInfo()
           
protected  void fireOnError(ErrorInfo info)
           
protected  void fireOnWarning(ErrorInfo info, int level)
           
 String getComponentName()
          コンポーネント名を返します。
 String getFlowName()
          フロー名を返します。
 String getProjectName()
          プロジェクト名を返します。
protected  boolean isFlowNode(Node node, String name)
          引数のnodeがFlowEngineのNamespaceURIに属し、ローカルネームがnameであるかをチェックします。
protected  boolean isIgnoreNode(Node node)
          引数のnodeをコンパイラが無視して良いかどうかをチェックします。
 
Methods inherited from class com.infoteria.asteria.flowengine2.compile.AbstractCompiler
getErrorCount, getLogger, getWarningCount, logElement, onError, onError, onError, onError, onError, onError, onWarning, onWarning, onWarning, onWarning, onWarning, onWarning, setLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_A_ACCESS

protected static final String _A_ACCESS

_A_BREAKPOINT

protected static final String _A_BREAKPOINT

_A_CATEGORY

protected static final String _A_CATEGORY

_A_CONNECTOR

protected static final String _A_CONNECTOR

_A_DEFAULT

protected static final String _A_DEFAULT

_A_ENABLED

protected static final String _A_ENABLED

_A_FILENAME

protected static final String _A_FILENAME

_A_FILEPATH

protected static final String _A_FILEPATH

_A_FORMAT

protected static final String _A_FORMAT

_A_ID

protected static final String _A_ID

_A_LENGTH

protected static final String _A_LENGTH

_A_NAME

protected static final String _A_NAME

_A_NODETYPE

protected static final String _A_NODETYPE

_A_PARTS

protected static final String _A_PARTS

_A_PREFIX

protected static final String _A_PREFIX

_A_PRIORITY

protected static final String _A_PRIORITY

_A_REPEAT

protected static final String _A_REPEAT

_A_START_POSITION

protected static final String _A_START_POSITION

_A_FRACTION_LENGTH

protected static final String _A_FRACTION_LENGTH

_A_MACRO

protected static final String _A_MACRO

_A_STATE

protected static final String _A_STATE

_A_STREAM

protected static final String _A_STREAM

_A_TYPE

protected static final String _A_TYPE

_A_URI

protected static final String _A_URI

_A_VERSION

protected static final String _A_VERSION

_E_COMPONENT

protected static final String _E_COMPONENT

_E_EXTERNAL

protected static final String _E_EXTERNAL

_E_FIELD

protected static final String _E_FIELD

_E_FLOW

protected static final String _E_FLOW

_E_INPUT

protected static final String _E_INPUT

_E_ITEM

protected static final String _E_ITEM

_E_LINK

protected static final String _E_LINK

_E_LOG

protected static final String _E_LOG

_E_NAMESPACE

protected static final String _E_NAMESPACE

_E_OUTPUT

protected static final String _E_OUTPUT

_E_PROJECT

protected static final String _E_PROJECT

_E_PROPERTY

protected static final String _E_PROPERTY

_E_ROW

protected static final String _E_ROW

_E_VARIABLE

protected static final String _E_VARIABLE

_E_VARIABLES

protected static final String _E_VARIABLES

_E_WEBSERVICE

protected static final String _E_WEBSERVICE

_V_CACHE_TYPE

protected static final String _V_CACHE_TYPE

_V_DEFAULT

protected static final String _V_DEFAULT

_V_DEBUG_LOG

protected static final String _V_DEBUG_LOG

_V_EXCEPTION

protected static final String _V_EXCEPTION

_V_FIELDS

protected static final String _V_FIELDS

_V_ALLOW_INVOKE

protected static final String _V_ALLOW_INVOKE

_V_SESSION_VARIABLES

protected static final String _V_SESSION_VARIABLES

_V_SYSTEM_VARIABLES

protected static final String _V_SYSTEM_VARIABLES

_V_VARIABLES

protected static final String _V_VARIABLES

_V_PROJECT

protected static final String _V_PROJECT

_V_PRIVATE

protected static final String _V_PRIVATE

_V_PUBLIC

protected static final String _V_PUBLIC

_V_SESSION

protected static final String _V_SESSION

_V_TIMEOUT

protected static final String _V_TIMEOUT

_V_LOGLEVEL

protected static final String _V_LOGLEVEL

_V_LOGNAME

protected static final String _V_LOGNAME

_V_OUTPUT_DEFAULT

protected static final String _V_OUTPUT_DEFAULT
Constructor Detail

CompilerBase

public CompilerBase()
Method Detail

isFlowNode

protected boolean isFlowNode(Node node,
                             String name)
引数のnodeがFlowEngineのNamespaceURIに属し、ローカルネームがnameであるかをチェックします。

isIgnoreNode

protected boolean isIgnoreNode(Node node)
引数のnodeをコンパイラが無視して良いかどうかをチェックします。
Returns:
nodeをコンパイラが無視して良い場合は true

createErrorInfo

protected ErrorInfo createErrorInfo()
Overrides:
createErrorInfo in class AbstractCompiler

fireOnError

protected void fireOnError(ErrorInfo info)
Overrides:
fireOnError in class AbstractCompiler

fireOnWarning

protected void fireOnWarning(ErrorInfo info,
                             int level)
Overrides:
fireOnWarning in class AbstractCompiler

getProjectName

public String getProjectName()
プロジェクト名を返します。

getFlowName

public String getFlowName()
フロー名を返します。

getComponentName

public String getComponentName()
コンポーネント名を返します。