org.writersforge.catalan.templates.generic
Class CommandOp

java.lang.Object
  |
  +--org.writersforge.catalan.templates.generic.GenericOp
        |
        +--org.writersforge.catalan.templates.generic.CommandOp
Direct Known Subclasses:
ForEachOp, IfOp

public abstract class CommandOp
extends GenericOp

Common base class for all template ops that represent processing commands.

Author:
jsheets

Constructor Summary
CommandOp(org.writersforge.bellows.Datum op, StyleMap styleMap)
          Creates a new instance of CommandOp.
CommandOp(org.writersforge.bellows.Datum op, StyleMap styleMap, StyleChain chain)
          Creates a new instance of CommandOp with an optional StyleChain fallback.
 
Methods inherited from class org.writersforge.catalan.templates.generic.GenericOp
createOp, createOp, getChain, getDatum, getDatumProperty, getOp, getOpType, getParameter, getStyleMap, resolve, resolveParameter, resolvePath, runQuery
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandOp

public CommandOp(org.writersforge.bellows.Datum op,
                 StyleMap styleMap)
Creates a new instance of CommandOp.

Parameters:
op - the XML template op to wrap
styleMap - the StyleMap to lookup named styles in

CommandOp

public CommandOp(org.writersforge.bellows.Datum op,
                 StyleMap styleMap,
                 StyleChain chain)
Creates a new instance of CommandOp with an optional StyleChain fallback. The StyleChain can be null.

Parameters:
op - the XML template op to wrap
styleMap - the StyleMap to lookup named styles in
chain - optional fallback StyleChain