|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.limegroup.gnutella.xml.LimeXMLDocumentHelper
Method Summary | |
static java.util.List |
breakSingleSchemaAggregateString(java.lang.String aggregrateXMLStr)
Breaks the passed xml document in aggregate form (where the root element has multiple child nodes) to a list of xml documents where the root node has got only one child. |
static void |
debug(java.lang.String out)
|
static java.lang.String |
getAggregateString(Response[] responses)
|
static java.util.List |
getDocuments(java.lang.String aggregrateXMLStr,
int totalResponseCount)
TO be used when a Query Reply comes with a chunk of meta-data we want to get LimeXMLDocuments out of it |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static java.util.List getDocuments(java.lang.String aggregrateXMLStr, int totalResponseCount)
returns null if the XML string does now parse.
public static java.util.List breakSingleSchemaAggregateString(java.lang.String aggregrateXMLStr)
public static java.lang.String getAggregateString(Response[] responses)
responses
- array is a set of responses. Sore have meta-data
some do not.
The aggregrate string should reflect the indexes of the
responses
If none of the responses have any metadata, this method returns an empty string.
public static void debug(java.lang.String out)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |