org.eclipse.emf.ecore.xmi.impl
Class SAXWrapper

java.lang.Object
  extended byorg.xml.sax.helpers.DefaultHandler
      extended byorg.eclipse.emf.ecore.xmi.impl.SAXWrapper
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler, LexicalHandler, XMLDefaultHandler

Deprecated. This class wraps an XMLHandler with a SAX DefaultHandler.

public class SAXWrapper
extends DefaultHandler
implements XMLDefaultHandler


Field Summary
protected  XMLHandler handler
          Deprecated.  
 
Constructor Summary
SAXWrapper(XMLHandler handler)
          Deprecated. Constructor for SAXWrapper.
 
Method Summary
 void characters(char[] ch, int start, int length)
          Deprecated.  
 void comment(char[] characters, int start, int length)
          Deprecated.  
 void endCDATA()
          Deprecated.  
 void endDocument()
          Deprecated.  
 void endDTD()
          Deprecated.  
 void endElement(String uri, String localName, String qName)
          Deprecated.  
 void endEntity(String name)
          Deprecated.  
 void endPrefixMapping(String prefix)
          Deprecated.  
 void error(SAXParseException e)
          Deprecated.  
 void fatalError(SAXParseException e)
          Deprecated.  
 void ignorableWhitespace(char[] ch, int start, int length)
          Deprecated.  
 void notationDecl(String name, String publicId, String systemId)
          Deprecated.  
 void prepare(XMLResource resource, XMLHelper helper, Map options)
          Deprecated.  
 void processingInstruction(String target, String data)
          Deprecated.  
 void reset()
          Deprecated.  
 InputSource resolveEntity(String publicId, String systemId)
          Deprecated.  
 void setDocumentLocator(Locator locator)
          Deprecated.  
 void skippedEntity(String name)
          Deprecated.  
 void startCDATA()
          Deprecated.  
 void startDocument()
          Deprecated.  
 void startDTD(String name, String publicId, String systemId)
          Deprecated.  
 void startElement(String uri, String localName, String qName, Attributes attributes)
          Deprecated.  
 void startEntity(String name)
          Deprecated.  
 void startPrefixMapping(String prefix, String uri)
          Deprecated.  
 void unparsedEntityDecl(String name, String publicId, String systemId, String notationName)
          Deprecated.  
 void warning(SAXParseException e)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

handler

protected XMLHandler handler
Deprecated. 
Constructor Detail

SAXWrapper

public SAXWrapper(XMLHandler handler)
Deprecated. 
Constructor for SAXWrapper.

Method Detail

prepare

public void prepare(XMLResource resource,
                    XMLHelper helper,
                    Map options)
Deprecated. 
Specified by:
prepare in interface XMLDefaultHandler

reset

public void reset()
Deprecated. 
Specified by:
reset in interface XMLDefaultHandler

setDocumentLocator

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

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 uri,
                         String localName,
                         String qName,
                         Attributes attributes)
                  throws SAXException
Deprecated. 
Specified by:
startElement in interface ContentHandler
Throws:
SAXException

endElement

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

warning

public void warning(SAXParseException e)
             throws SAXException
Deprecated. 
Specified by:
warning in interface ErrorHandler
Throws:
SAXException

error

public void error(SAXParseException e)
           throws SAXException
Deprecated. 
Specified by:
error in interface ErrorHandler
Throws:
SAXException

fatalError

public void fatalError(SAXParseException e)
                throws SAXException
Deprecated. 
Specified by:
fatalError in interface ErrorHandler
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

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

resolveEntity

public InputSource resolveEntity(String publicId,
                                 String systemId)
                          throws SAXException
Deprecated. 
Specified by:
resolveEntity in interface EntityResolver
Throws:
SAXException

notationDecl

public void notationDecl(String name,
                         String publicId,
                         String systemId)
                  throws SAXException
Deprecated. 
Specified by:
notationDecl in interface DTDHandler
Throws:
SAXException

unparsedEntityDecl

public void unparsedEntityDecl(String name,
                               String publicId,
                               String systemId,
                               String notationName)
                        throws SAXException
Deprecated. 
Specified by:
unparsedEntityDecl in interface DTDHandler
Throws:
SAXException

startDTD

public void startDTD(String name,
                     String publicId,
                     String systemId)
Deprecated. 
Specified by:
startDTD in interface LexicalHandler

endDTD

public void endDTD()
Deprecated. 
Specified by:
endDTD in interface LexicalHandler

startEntity

public void startEntity(String name)
Deprecated. 
Specified by:
startEntity in interface LexicalHandler

endEntity

public void endEntity(String name)
Deprecated. 
Specified by:
endEntity in interface LexicalHandler

startCDATA

public void startCDATA()
Deprecated. 
Specified by:
startCDATA in interface LexicalHandler

endCDATA

public void endCDATA()
Deprecated. 
Specified by:
endCDATA in interface LexicalHandler

comment

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

Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.