Xindice API
version 1.2m1

org.apache.xindice.webadmin
Class PartialResponse

java.lang.Object
  extended byorg.apache.xindice.webadmin.PartialResponse

public class PartialResponse
extends Object

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.

Version:
$Revision: 551439 $, $Date: 2007-06-28 00:10:20 -0400 (Thu, 28 Jun 2007) $

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

PartialResponse

public PartialResponse(String href)
Method Detail

getHref

public String getHref()

addContent

public void addContent(String name,
                       String value)
Adds another element to the list of children of this partial response.

Parameters:
name - Element name
value - Element value

addContent

public void addContent(PartialResponse.Content child)
Adds another element to the list of children of this partial response.

Parameters:
child - Existing element

toString

public String toString()
Builds XML out of partial response object.

Returns:
XML string

Xindice API
version 1.2m1

Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.