java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.miamm.soapmmil.test.echo.EchoMIAMMService.EchoContentHandler
- All Implemented Interfaces:
- org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler
- Enclosing class:
- EchoMIAMMService
- class EchoMIAMMService.EchoContentHandler
- extends org.xml.sax.helpers.DefaultHandler
A ContentHandler that just prints things to the OutputStream,
adding a few bits of information to the output just for fun
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startElement, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_type
org.miamm.castor.headerblock.types.MsgContentType _type
_service
org.miamm.soapmmil.MIAMMService _service
_stream
java.io.PrintStream _stream
EchoMIAMMService.EchoContentHandler
public EchoMIAMMService.EchoContentHandler(org.miamm.soapmmil.MIAMMService service,
org.miamm.castor.headerblock.types.MsgContentType type,
java.io.PrintStream stream)
border
public java.lang.String border(java.lang.String message)
startDocument
public void startDocument()
- Description copied from class:
org.xml.sax.helpers.DefaultHandler
- Receive notification of the beginning of the document.
By default, do nothing. Application writers may override this
method in a subclass to take specific actions at the beginning
of a document (such as allocating the root node of a tree or
creating an output file).
endDocument
public void endDocument()
- Description copied from class:
org.xml.sax.helpers.DefaultHandler
- Receive notification of the end of the document.
By default, do nothing. Application writers may override this
method in a subclass to take specific actions at the end
of a document (such as finalising a tree or closing an output
file).
characters
public void characters(char[] ch,
int start,
int length)
- Description copied from class:
org.xml.sax.helpers.DefaultHandler
- Receive notification of character data inside an element.
By default, do nothing. Application writers may override this
method to take specific actions for each chunk of character data
(such as adding the data to a node or buffer, or printing it to
a file).