com.berryworks.edireader
Class EDIParserFactory

java.lang.Object
  extended by javax.xml.parsers.SAXParserFactory
      extended by com.berryworks.edireader.EDIParserFactory

public class EDIParserFactory
extends javax.xml.parsers.SAXParserFactory

An implementation of SAXParserFactory to provide for the creation of a custom SAXParser in the JAXP manner. The SAXParser that it creates is actually an EDIParser that parses EDI input instead of XML input but otherwise behaves as a normal SAXParser.


Constructor Summary
EDIParserFactory()
           
 
Method Summary
 boolean getFeature(java.lang.String name)
           
 boolean isNamespaceAware()
           
 boolean isValidating()
           
static javax.xml.parsers.SAXParserFactory newInstance()
           
 javax.xml.parsers.SAXParser newSAXParser()
           
 void setFeature(java.lang.String name, boolean value)
           
 
Methods inherited from class javax.xml.parsers.SAXParserFactory
getSchema, isXIncludeAware, newInstance, setNamespaceAware, setSchema, setValidating, setXIncludeAware
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EDIParserFactory

public EDIParserFactory()
Method Detail

isValidating

public boolean isValidating()
Overrides:
isValidating in class javax.xml.parsers.SAXParserFactory

isNamespaceAware

public boolean isNamespaceAware()
Overrides:
isNamespaceAware in class javax.xml.parsers.SAXParserFactory

newInstance

public static javax.xml.parsers.SAXParserFactory newInstance()
                                                      throws javax.xml.parsers.FactoryConfigurationError
Throws:
javax.xml.parsers.FactoryConfigurationError

newSAXParser

public javax.xml.parsers.SAXParser newSAXParser()
                                         throws javax.xml.parsers.ParserConfigurationException,
                                                org.xml.sax.SAXException
Specified by:
newSAXParser in class javax.xml.parsers.SAXParserFactory
Throws:
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException

setFeature

public void setFeature(java.lang.String name,
                       boolean value)
Specified by:
setFeature in class javax.xml.parsers.SAXParserFactory

getFeature

public boolean getFeature(java.lang.String name)
Specified by:
getFeature in class javax.xml.parsers.SAXParserFactory