|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.writersforge.catalan.transform.BaseNodeProcessor
|
+--org.writersforge.catalan.transform.xform.XFormProcessor
|
+--org.writersforge.catalan.transform.xform.WrapProcessor
A Datum-only NodeProcessor for increasing the level of nesting for the queried set of elements. Does not affect any attribute values.
| Constructor Summary | |
WrapProcessor(java.lang.String query,
java.lang.String wrapper)
Creates a new instance of WrapProcessor. |
|
| Method Summary | |
protected void |
transformNode(org.writersforge.bellows.Datum node,
org.writersforge.bellows.Datum root)
Performs an in-place transformation on the supplied Datum tree. |
| Methods inherited from class org.writersforge.catalan.transform.xform.XFormProcessor |
getQuery, getQueryNodes, processNode |
| Methods inherited from class org.writersforge.catalan.transform.BaseNodeProcessor |
addLeftover, end, getLeftovers, getNodes, start |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WrapProcessor(java.lang.String query,
java.lang.String wrapper)
query - Bellows query path to select the source node(s)wrapper - the name of the new wrapper element| Method Detail |
protected void transformNode(org.writersforge.bellows.Datum node,
org.writersforge.bellows.Datum root)
transformNode in class XFormProcessornode - the current node to operate uponroot - the root of the entire XML tree
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||