|
||||||||||
| 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.ContentOp
|
+--org.writersforge.catalan.templates.generic.LiteralOp
A template op wrapper for <literal> and static text. Does not attempt to look anything up in the input data document, but does allow for styles.
| Constructor Summary | |
LiteralOp(org.writersforge.bellows.Datum op,
StyleMap styleMap)
Creates a new instance of LiteralOp. |
|
LiteralOp(org.writersforge.bellows.Datum op,
StyleMap styleMap,
StyleChain chain)
Creates a new instance of LiteralOp with an optional StyleChain fallback. |
|
| Method Summary | |
java.lang.String |
getText()
Retrieves the PCDATA text content from the current literal op. |
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 LiteralOp(org.writersforge.bellows.Datum op,
StyleMap styleMap)
op - the XML template op to wrapstyleMap - the StyleMap to lookup named styles in
public LiteralOp(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 getText()
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 | |||||||||