|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.benow.web.path.page.TagProcessor
org.benow.web.path.page.DOMTagProcessor
org.benow.web.path.page.obj.ObjectTagProcessor
public class ObjectTagProcessor
| Field Summary |
|---|
| Fields inherited from class org.benow.web.path.page.TagProcessor |
|---|
RES_TAG, tag |
| Constructor Summary | |
|---|---|
ObjectTagProcessor()
|
|
| Method Summary | |
|---|---|
void |
postProcess(org.w3c.dom.Element curr,
org.benow.xml.xsl.XSL sourceXSL,
java.util.Map<java.lang.String,java.lang.Object> templateParams,
java.lang.String inputXML)
gets object and returns them formatted. |
| Methods inherited from class org.benow.web.path.page.TagProcessor |
|---|
getTag |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ObjectTagProcessor()
| Method Detail |
|---|
public void postProcess(org.w3c.dom.Element curr,
org.benow.xml.xsl.XSL sourceXSL,
java.util.Map<java.lang.String,java.lang.Object> templateParams,
java.lang.String inputXML)
throws java.lang.Exception,
java.lang.Throwable
<!-- gets all MyClass --> <obj class="org.some.MyClass"/> <!-- gets MyClass with key --> <obj class="org.some.MyClass" key="1234"/> <!-- gets MyClass with key presenting with edit template--> <obj class="org.some.MyClass" key="1234" op="edit"/> <!-- gets MyClass by field --> <obj class="org.some.MyClass"> <constraint field="numChildren">4</constraint> <constraint field="name" like="Fred%"/> </obj>Once objects are returned, they are marshalled against auto created or custom object presentation xsl to show the items.
postProcess in class DOMTagProcessorcurr - nodes within document that match namespace for this processorsourceXSL - xsl which generated the including pagetemplateParams - original params that were passed to including xslinputXML - original XML input that was used for including page
java.lang.Throwable
java.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||