org.xmlecho.palomar.core
Class XProcessorHTTPClientImpl
java.lang.Object
org.xmlecho.palomar.core.XProcessorImpl
org.xmlecho.palomar.core.XProcessorHTTPClientImpl
- All Implemented Interfaces:
- XProcessor
- public class XProcessorHTTPClientImpl
- extends XProcessorImpl
|
Method Summary |
ECHORequest |
compile(org.xml.sax.XMLReader rdr,
org.xml.sax.InputSource src)
|
void |
eval(ECHOContext context,
org.xml.sax.XMLReader rdr,
org.xml.sax.InputSource src,
org.xml.sax.ContentHandler responseTarget)
evaluate the request |
org.w3c.dom.Element |
evalToResponse(ECHOContext context)
evaluate the request, constructing a DOM result with
the default ElementFactory |
org.w3c.dom.Element |
evalToResponse(ECHOContext ctx,
org.xml.sax.XMLReader reader,
org.xml.sax.InputSource src)
evaluate the request, constructing a DOM result with
the default ElementFactory |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XProcessorHTTPClientImpl
public XProcessorHTTPClientImpl()
XProcessorHTTPClientImpl
public XProcessorHTTPClientImpl(org.xmlecho.palomar.dom.ElementFactory factory)
- Parameters:
factory - an Object factory for the ECHO
Command objects appropriate
to ECHO element names
XProcessorHTTPClientImpl
public XProcessorHTTPClientImpl(org.xmlecho.palomar.dom.ElementFactory factory,
java.lang.String url)
- Parameters:
factory - an Object factory for the ECHO
Command objects appropriate
to ECHO element namesurl - a String representing the URL of an HTTP ECHO server
compile
public ECHORequest compile(org.xml.sax.XMLReader rdr,
org.xml.sax.InputSource src)
- Specified by:
compile in interface XProcessor- Overrides:
compile in class XProcessorImpl
evalToResponse
public org.w3c.dom.Element evalToResponse(ECHOContext ctx,
org.xml.sax.XMLReader reader,
org.xml.sax.InputSource src)
throws java.lang.Exception
- evaluate the request, constructing a DOM result with
the default ElementFactory
- Overrides:
evalToResponse in class XProcessorImpl
- Throws:
java.lang.Exception
eval
public void eval(ECHOContext context,
org.xml.sax.XMLReader rdr,
org.xml.sax.InputSource src,
org.xml.sax.ContentHandler responseTarget)
throws java.lang.Exception
- evaluate the request
- Specified by:
eval in interface XProcessor- Overrides:
eval in class XProcessorImpl
- Throws:
java.lang.Exception
evalToResponse
public org.w3c.dom.Element evalToResponse(ECHOContext context)
throws java.lang.Exception
- evaluate the request, constructing a DOM result with
the default ElementFactory
- Throws:
java.lang.Exception