Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.miamm.soapmmil.test.echo
Class EchoMIAMMService.EchoContentHandler  view EchoMIAMMService.EchoContentHandler download EchoMIAMMService.EchoContentHandler.java

java.lang.Object
  extended byorg.xml.sax.helpers.DefaultHandler
      extended byorg.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


Field Summary
(package private)  org.miamm.soapmmil.MIAMMService _service
           
(package private)  java.io.PrintStream _stream
           
(package private)  org.miamm.castor.headerblock.types.MsgContentType _type
           
 
Constructor Summary
EchoMIAMMService.EchoContentHandler(org.miamm.soapmmil.MIAMMService service, org.miamm.castor.headerblock.types.MsgContentType type, java.io.PrintStream stream)
           
 
Method Summary
 java.lang.String border(java.lang.String message)
           
 void characters(char[] ch, int start, int length)
          Receive notification of character data inside an element.
 void endDocument()
          Receive notification of the end of the document.
 void startDocument()
          Receive notification of the beginning of the document.
 
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
 

Field Detail

_type

org.miamm.castor.headerblock.types.MsgContentType _type

_service

org.miamm.soapmmil.MIAMMService _service

_stream

java.io.PrintStream _stream
Constructor Detail

EchoMIAMMService.EchoContentHandler

public EchoMIAMMService.EchoContentHandler(org.miamm.soapmmil.MIAMMService service,
                                           org.miamm.castor.headerblock.types.MsgContentType type,
                                           java.io.PrintStream stream)
Method Detail

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).