|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.filenet.wcm.toolkit.server.util.xml.WcmXMLSorterProcess
Utility class that handles sorting of the XML returned by Process Java Api.
Constructor Summary | |
WcmXMLSorterProcess()
|
|
WcmXMLSorterProcess(java.util.Locale locale)
|
Method Summary | |
void |
setDocument(org.w3c.dom.Document doc)
Sets the XML Document to be sorted. |
void |
setQueryResultTag(java.lang.String tagName)
Sets the XML query result tag. |
void |
setSortField(java.lang.String fieldName)
Sets the field name to be used as sort key for items. |
void |
sortXML(boolean accending)
Sorts the XML Document previously set by setDocument() method. |
void |
sortXML(org.w3c.dom.Document doc,
boolean accending)
Sorts the XML Document. |
void |
sortXML(org.w3c.dom.Document doc,
java.lang.String sortField,
boolean accending)
Sorts the XML Document using the specified field name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WcmXMLSorterProcess()
public WcmXMLSorterProcess(java.util.Locale locale)
Method Detail |
public void sortXML(org.w3c.dom.Document doc, java.lang.String sortField, boolean accending)
doc
- XML Document to be sortedsortField
- field name to be used as sort keyaccending
- boolean value indicating the direction of the sort.public void sortXML(org.w3c.dom.Document doc, boolean accending)
doc
- XML Document to be sortedpublic void setSortField(java.lang.String fieldName)
fieldName
- field to be used as sort key for itemspublic void setDocument(org.w3c.dom.Document doc)
doc
- XML Document to be sortedpublic void setQueryResultTag(java.lang.String tagName)
tagName
- String tag namepublic void sortXML(boolean accending)
accending
- boolena value indicating the direction of the sort.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |