org.apache.mirae.j2me.xml
Class NonValidatingParser

java.lang.Object
  extended byorg.apache.mirae.j2me.xml.NonValidatingParser

public class NonValidatingParser
extends java.lang.Object

This is a non-validating parser implementation for J2ME JAXP

Author:
Ias (iasandcb@tmax.co.kr)

Field Summary
protected  java.util.Hashtable attributeDefaultValues
           
protected  java.util.Hashtable attributeTypes
           
 
Constructor Summary
NonValidatingParser(InputSource source, DefaultHandler handler, SAXParserImpl saxParser)
          Constructor with source, handler and SAXParserImpl
 
Method Summary
 void parse()
          start to parse the given document
protected  void parseAttribute(AttributesImpl attributes)
           
protected  void parseDtdAttributeList(EntityResolver entityResolver)
           
protected  void parseDtdElement(EntityResolver entityResolver)
           
protected  void parseElement()
           
protected  void parseSpecialTag(boolean allowCdata)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attributeDefaultValues

protected java.util.Hashtable attributeDefaultValues

attributeTypes

protected java.util.Hashtable attributeTypes
Constructor Detail

NonValidatingParser

public NonValidatingParser(InputSource source,
                           DefaultHandler handler,
                           SAXParserImpl saxParser)
                    throws java.io.IOException
Constructor with source, handler and SAXParserImpl

Parameters:
source -
handler -
saxParser -
Throws:
java.io.IOException
Method Detail

parse

public void parse()
           throws SAXException,
                  java.io.IOException
start to parse the given document

Throws:
SAXException
java.io.IOException

parseAttribute

protected void parseAttribute(AttributesImpl attributes)
                       throws java.lang.Exception
Throws:
java.lang.Exception

parseDtdAttributeList

protected void parseDtdAttributeList(EntityResolver entityResolver)
                              throws java.lang.Exception
Throws:
java.lang.Exception

parseDtdElement

protected void parseDtdElement(EntityResolver entityResolver)
                        throws java.lang.Exception
Throws:
java.lang.Exception

parseElement

protected void parseElement()
                     throws java.lang.Exception
Throws:
java.lang.Exception

parseSpecialTag

protected void parseSpecialTag(boolean allowCdata)
                        throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2005 Apache Software Foundation. All Rights Reserved.