org.apache.axis.encoding.ser.castor

Class AxisContentHandler

public class AxisContentHandler extends DefaultHandler

This ContentHandler delegates all serialization to an axis SerializationContext

Author: Fabien Nisol

Constructor Summary
AxisContentHandler(SerializationContext context)
Creates a contentHandler delegate
Method Summary
voidcharacters(char[] ch, int start, int length)
delegates to the serialization context
voidendElement(String uri, String localName, String qName)
delegates to the serialization context
SerializationContextgetContext()
Getter for property context.
voidsetContext(SerializationContext context)
Setter for property context.
voidstartElement(String uri, String localName, String qName, Attributes attributes)
delegates to the serialization context

Constructor Detail

AxisContentHandler

public AxisContentHandler(SerializationContext context)
Creates a contentHandler delegate

Parameters: context : axis context to delegate to

Method Detail

characters

public void characters(char[] ch, int start, int length)
delegates to the serialization context

endElement

public void endElement(String uri, String localName, String qName)
delegates to the serialization context

getContext

public SerializationContext getContext()
Getter for property context.

Returns: Value of property context.

setContext

public void setContext(SerializationContext context)
Setter for property context.

Parameters: context New value of property context.

startElement

public void startElement(String uri, String localName, String qName, Attributes attributes)
delegates to the serialization context
Copyright B) 2005 Apache Web Services Project. All Rights Reserved.