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

Quick Search    Search Deep

org.apache.axis.encoding.ser.castor
Class AxisContentHandler  view AxisContentHandler download AxisContentHandler.java

java.lang.Object
  extended byorg.xml.sax.helpers.DefaultHandler
      extended byorg.apache.axis.encoding.ser.castor.AxisContentHandler
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

public class AxisContentHandler
extends org.xml.sax.helpers.DefaultHandler

This ContentHandler delegates all serialization to an axis SerializationContext


Field Summary
private  org.apache.axis.encoding.SerializationContext context
          serialization context to delegate to
 
Constructor Summary
AxisContentHandler(org.apache.axis.encoding.SerializationContext context)
          Creates a contentHandler delegate
 
Method Summary
 void characters(char[] ch, int start, int length)
          delegates to the serialization context
 void endElement(java.lang.String uri, java.lang.String localName, java.lang.String qName)
          delegates to the serialization context
 org.apache.axis.encoding.SerializationContext getContext()
          Getter for property context.
 void setContext(org.apache.axis.encoding.SerializationContext context)
          Setter for property context.
 void startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attributes)
          delegates to the serialization context
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

private org.apache.axis.encoding.SerializationContext context
serialization context to delegate to

Constructor Detail

AxisContentHandler

public AxisContentHandler(org.apache.axis.encoding.SerializationContext context)
Creates a contentHandler delegate

Method Detail

getContext

public org.apache.axis.encoding.SerializationContext getContext()
Getter for property context.


setContext

public void setContext(org.apache.axis.encoding.SerializationContext context)
Setter for property context.


startElement

public void startElement(java.lang.String uri,
                         java.lang.String localName,
                         java.lang.String qName,
                         org.xml.sax.Attributes attributes)
                  throws org.xml.sax.SAXException
delegates to the serialization context


endElement

public void endElement(java.lang.String uri,
                       java.lang.String localName,
                       java.lang.String qName)
                throws org.xml.sax.SAXException
delegates to the serialization context


characters

public void characters(char[] ch,
                       int start,
                       int length)
                throws org.xml.sax.SAXException
delegates to the serialization context