org.writersforge.catalan.templates.generic
Class ContentOp

java.lang.Object
  |
  +--org.writersforge.catalan.templates.generic.GenericOp
        |
        +--org.writersforge.catalan.templates.generic.ContentOp
Direct Known Subclasses:
GroupOp, ImageOp, LiteralOp, PaddingOp, TableOp, TextOp

public abstract class ContentOp
extends GenericOp

Common base class for all template ops that produce renderable content.

Author:
jsheets

Constructor Summary
ContentOp(org.writersforge.bellows.Datum op, StyleMap styleMap)
          Creates a new instance of ContentOp.
ContentOp(org.writersforge.bellows.Datum op, StyleMap styleMap, StyleChain chain)
          Creates a new instance of ContentOp 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

ContentOp

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

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

ContentOp

public ContentOp(org.writersforge.bellows.Datum op,
                 StyleMap styleMap,
                 StyleChain chain)
Creates a new instance of ContentOp 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