org.codehaus.xfire.transport.http
Class HtmlServiceWriter
java.lang.Object
org.codehaus.xfire.transport.http.HtmlServiceWriter
public class HtmlServiceWriter
- extends java.lang.Object
Provides a basic HTML description of a Service
.
- Author:
- Arjen Poutsma
Method Summary |
void |
write(java.io.OutputStream out,
java.util.Collection services)
Writes a HTML list of services to the given stream. |
void |
write(java.io.OutputStream out,
Service service)
Writes a HTML description of a service to the given stream. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HtmlServiceWriter
public HtmlServiceWriter()
write
public void write(java.io.OutputStream out,
java.util.Collection services)
throws javax.xml.stream.XMLStreamException
- Writes a HTML list of services to the given stream. Each service is described with its name.
- Parameters:
out
- the stream to write toservices
- the services
- Throws:
javax.xml.stream.XMLStreamException
- if an XML writing exception occurs
write
public void write(java.io.OutputStream out,
Service service)
throws javax.xml.stream.XMLStreamException
- Writes a HTML description of a service to the given stream.
- Parameters:
out
- the stream to write toservice
- the service
- Throws:
javax.xml.stream.XMLStreamException
- if an XML writing exception occurs