com.sun.xml.bind.serializer
Class ContentHandlerAdaptor

java.lang.Object
  extended by com.sun.xml.bind.serializer.ContentHandlerAdaptor
All Implemented Interfaces:
ContentHandler

Deprecated. in JAXB1.0.1

public class ContentHandlerAdaptor
extends Object
implements ContentHandler

Receives SAX2 events and send the equivalent events to XMLSerializer

Since:
JAXB1.0
Author:
Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)

Constructor Summary
ContentHandlerAdaptor(XMLSerializer _serializer)
          Deprecated.  
 
Method Summary
 void characters(char[] ch, int start, int length)
          Deprecated.  
 void endDocument()
          Deprecated.  
 void endElement(String namespaceURI, String localName, String qName)
          Deprecated.  
 void endPrefixMapping(String prefix)
          Deprecated.  
 void ignorableWhitespace(char[] ch, int start, int length)
          Deprecated.  
 void processingInstruction(String target, String data)
          Deprecated.  
 void setDocumentLocator(Locator locator)
          Deprecated.  
 void skippedEntity(String name)
          Deprecated.  
 void startDocument()
          Deprecated.  
 void startElement(String namespaceURI, String localName, String qName, Attributes atts)
          Deprecated.  
 void startPrefixMapping(String prefix, String uri)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentHandlerAdaptor

public ContentHandlerAdaptor(XMLSerializer _serializer)
Deprecated. 
Method Detail

startDocument

public void startDocument()
                   throws SAXException
Deprecated. 
Specified by:
startDocument in interface ContentHandler
Throws:
SAXException

endDocument

public void endDocument()
                 throws SAXException
Deprecated. 
Specified by:
endDocument in interface ContentHandler
Throws:
SAXException

startPrefixMapping

public void startPrefixMapping(String prefix,
                               String uri)
                        throws SAXException
Deprecated. 
Specified by:
startPrefixMapping in interface ContentHandler
Throws:
SAXException

endPrefixMapping

public void endPrefixMapping(String prefix)
                      throws SAXException
Deprecated. 
Specified by:
endPrefixMapping in interface ContentHandler
Throws:
SAXException

startElement

public void startElement(String namespaceURI,
                         String localName,
                         String qName,
                         Attributes atts)
                  throws SAXException
Deprecated. 
Specified by:
startElement in interface ContentHandler
Throws:
SAXException

endElement

public void endElement(String namespaceURI,
                       String localName,
                       String qName)
                throws SAXException
Deprecated. 
Specified by:
endElement in interface ContentHandler
Throws:
SAXException

characters

public void characters(char[] ch,
                       int start,
                       int length)
                throws SAXException
Deprecated. 
Specified by:
characters in interface ContentHandler
Throws:
SAXException

ignorableWhitespace

public void ignorableWhitespace(char[] ch,
                                int start,
                                int length)
                         throws SAXException
Deprecated. 
Specified by:
ignorableWhitespace in interface ContentHandler
Throws:
SAXException

setDocumentLocator

public void setDocumentLocator(Locator locator)
Deprecated. 
Specified by:
setDocumentLocator in interface ContentHandler

processingInstruction

public void processingInstruction(String target,
                                  String data)
                           throws SAXException
Deprecated. 
Specified by:
processingInstruction in interface ContentHandler
Throws:
SAXException

skippedEntity

public void skippedEntity(String name)
                   throws SAXException
Deprecated. 
Specified by:
skippedEntity in interface ContentHandler
Throws:
SAXException


Copyright © 2014 Oracle Corporation. All Rights Reserved.