|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.umber.crucible.old.templates.generic.GenericOp org.umber.crucible.old.templates.generic.ContentOp org.umber.crucible.old.templates.generic.ImageOp
A template op wrapper for <image>.
Constructor Summary | |
ImageOp(Datum op,
StyleMap styleMap)
Creates a new instance of ImageOp. |
|
ImageOp(Datum op,
StyleMap styleMap,
StyleChain chain)
Creates a new instance of ImageOp with an optional StyleChain fallback. |
Method Summary | |
java.lang.String |
getFile()
Retrieves the file path for the image that this op should render. |
java.util.List |
resolve(Datum xmlNode)
Runs a Datum XML node through the op and returns a List of LayoutArea objects. |
Methods inherited from class org.umber.crucible.old.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 ImageOp(Datum op, StyleMap styleMap)
op
- the XML template op to wrapstyleMap
- the StyleMap to lookup named styles inpublic ImageOp(Datum op, StyleMap styleMap, StyleChain chain)
op
- the XML template op to wrapstyleMap
- the StyleMap to lookup named styles inchain
- optional fallback StyleChainMethod Detail |
public java.lang.String getFile()
public java.util.List resolve(Datum xmlNode)
resolve
in class GenericOp
xmlNode
- 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 |