|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.writersforge.catalan.templates.generic.GenericOp
|
+--org.writersforge.catalan.templates.generic.CommandOp
|
+--org.writersforge.catalan.templates.generic.IfOp
A template op wrapper for <if> and <if-not>.
| Constructor Summary | |
IfOp(org.writersforge.bellows.Datum op,
StyleMap styleMap)
Creates a new instance of IfOp. |
|
IfOp(org.writersforge.bellows.Datum op,
StyleMap styleMap,
StyleChain chain)
Creates a new instance of IfOp with an optional StyleChain fallback. |
|
| Method Summary | |
java.lang.String |
getMatch()
Returns the 'match' property of the op, or "" if 'match' is not specified. |
java.util.List |
resolve(org.writersforge.bellows.Datum xmlNode)
Runs a Datum XML node through the op and returns a List of LayoutArea objects. |
| Methods inherited from class org.writersforge.catalan.templates.generic.GenericOp |
createOp, createOp, getChain, getDatum, getDatumProperty, getOp, getOpType, getParameter, getStyleMap, resolveParameter, resolvePath, runQuery |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IfOp(org.writersforge.bellows.Datum op,
StyleMap styleMap)
op - the XML template op to wrapstyleMap - the StyleMap to lookup named styles in
public IfOp(org.writersforge.bellows.Datum op,
StyleMap styleMap,
StyleChain chain)
op - the XML template op to wrapstyleMap - the StyleMap to lookup named styles inchain - optional fallback StyleChain| Method Detail |
public java.lang.String getMatch()
public java.util.List resolve(org.writersforge.bellows.Datum xmlNode)
resolve in class GenericOpxmlNode - the input data node to run through the op
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||