|
Xindice API version 1.2m1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xindice.webadmin.PartialResponse
PartialResponse represents response part of the multi-status response document. Every partial response has its correspondent URL information (href element) and one or more elements with additional request-specific information.
Nested Class Summary | |
static class |
PartialResponse.Content
Content class holds request-specific information in a tree-like structure. |
Constructor Summary | |
PartialResponse(String href)
|
Method Summary | |
void |
addContent(PartialResponse.Content child)
Adds another element to the list of children of this partial response. |
void |
addContent(String name,
String value)
Adds another element to the list of children of this partial response. |
String |
getHref()
|
String |
toString()
Builds XML out of partial response object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public PartialResponse(String href)
Method Detail |
public String getHref()
public void addContent(String name, String value)
name
- Element namevalue
- Element valuepublic void addContent(PartialResponse.Content child)
child
- Existing elementpublic String toString()
|
Xindice API version 1.2m1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |