mx4j.tools.adaptor.http

Class DefaultProcessor

public class DefaultProcessor extends Object implements ProcessorMBean

DefaultPostProcessor doesn't alter the result, just publising the xml file

Version: $Revision: 1.4 $

Method Summary
StringgetName()
protected Stringnormalize(String s)
Normalizes the given string.
StringnotFoundElement(String path, HttpOutputStream out, HttpInputStream in)
StringpreProcess(String path)
protected voidprint(PrintWriter out, Node node)
protected Attr[]sortAttributes(NamedNodeMap attrs)
Returns a sorted list of attributes.
voidwriteError(HttpOutputStream out, HttpInputStream in, Exception e)
voidwriteResponse(HttpOutputStream out, HttpInputStream in, Document document)

Method Detail

getName

public String getName()

normalize

protected String normalize(String s)
Normalizes the given string.

Parameters: s Description of Parameter

Returns: Description of the Returned Value

notFoundElement

public String notFoundElement(String path, HttpOutputStream out, HttpInputStream in)

preProcess

public String preProcess(String path)

print

protected void print(PrintWriter out, Node node)

sortAttributes

protected Attr[] sortAttributes(NamedNodeMap attrs)
Returns a sorted list of attributes.

Parameters: attrs Description of Parameter

Returns: Description of the Returned Value

writeError

public void writeError(HttpOutputStream out, HttpInputStream in, Exception e)

writeResponse

public void writeResponse(HttpOutputStream out, HttpInputStream in, Document document)
Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.