Save This Page
Home » jdo2-model-2.3-ea-src » org.apache.jdo.impl.model.jdo.xml » [javadoc | source]
org.apache.jdo.impl.model.jdo.xml
public class: JDOParser [javadoc | source]
java.lang.Object
   org.apache.jdo.impl.model.jdo.xml.JDOParser

All Implemented Interfaces:
    ContentHandler

The class reads XML documents according to specified DTD and translates all related events into JDOHandler events.

Usage sample:

   JDOParser parser = new JDOParser(...);
   parser.parse(new InputSource("..."));

Warning: the class is machine generated. DO NOT MODIFY

Constructor:
 public JDOParser(JDOHandler handler) 
Method from org.apache.jdo.impl.model.jdo.xml.JDOParser Summary:
characters,   endDocument,   endElement,   endPrefixMapping,   ignorableWhitespace,   parse,   parse,   parse,   parse,   processingInstruction,   setDocumentLocator,   skippedEntity,   startDocument,   startElement,   startPrefixMapping
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.jdo.impl.model.jdo.xml.JDOParser Detail:
 public  void characters(char[] chars,
    int start,
    int len) throws SAXException 
 public  void endDocument() throws SAXException 
 public  void endElement(String ns,
    String name,
    String qname) throws SAXException 
 public  void endPrefixMapping(String prefix) throws SAXException 
 public  void ignorableWhitespace(char[] chars,
    int start,
    int len) throws SAXException 
 public  void parse(InputSource input) throws SAXException, ParserConfigurationException, IOException 
    The recognizer entry method taking an InputSource.
 public  void parse(URL url) throws SAXException, ParserConfigurationException, IOException 
    The recognizer entry method taking a URL.
 public static  void parse(InputSource input,
    JDOHandler handler) throws SAXException, ParserConfigurationException, IOException 
    The recognizer entry method taking an Inputsource.
 public static  void parse(URL url,
    JDOHandler handler) throws SAXException, ParserConfigurationException, IOException 
    The recognizer entry method taking a URL.
 public  void processingInstruction(String target,
    String data) throws SAXException 
 public  void setDocumentLocator(Locator locator) 
 public  void skippedEntity(String name) throws SAXException 
 public  void startDocument() throws SAXException 
 public  void startElement(String ns,
    String name,
    String qname,
    Attributes attrs) throws SAXException 
 public  void startPrefixMapping(String prefix,
    String uri) throws SAXException