__redirected
Class __SAXParserFactory

java.lang.Object
  extended by javax.xml.parsers.SAXParserFactory
      extended by __redirected.__SAXParserFactory

public final class __SAXParserFactory
extends SAXParserFactory

A redirected SAXParserFactory

Author:
David M. Lloyd

Constructor Summary
__SAXParserFactory()
          Construct a new instance.
 
Method Summary
static void changeDefaultFactory(ModuleIdentifier id, ModuleLoader loader)
           
 boolean getFeature(String name)
           
 Schema getSchema()
           
static void init()
          Init method.
 boolean isNamespaceAware()
           
 boolean isValidating()
           
 boolean isXIncludeAware()
           
 SAXParser newSAXParser()
           
static void restorePlatformFactory()
           
 void setFeature(String name, boolean value)
           
 void setNamespaceAware(boolean awareness)
           
 void setSchema(Schema schema)
           
 void setValidating(boolean validating)
           
 void setXIncludeAware(boolean state)
           
 
Methods inherited from class javax.xml.parsers.SAXParserFactory
newInstance, newInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

__SAXParserFactory

public __SAXParserFactory()
Construct a new instance.

Method Detail

changeDefaultFactory

public static void changeDefaultFactory(ModuleIdentifier id,
                                        ModuleLoader loader)

restorePlatformFactory

public static void restorePlatformFactory()

init

public static void init()
Init method.


newSAXParser

public SAXParser newSAXParser()
                       throws ParserConfigurationException,
                              SAXException
Specified by:
newSAXParser in class SAXParserFactory
Throws:
ParserConfigurationException
SAXException

setNamespaceAware

public void setNamespaceAware(boolean awareness)
Overrides:
setNamespaceAware in class SAXParserFactory

setValidating

public void setValidating(boolean validating)
Overrides:
setValidating in class SAXParserFactory

isNamespaceAware

public boolean isNamespaceAware()
Overrides:
isNamespaceAware in class SAXParserFactory

isValidating

public boolean isValidating()
Overrides:
isValidating in class SAXParserFactory

setFeature

public void setFeature(String name,
                       boolean value)
                throws ParserConfigurationException,
                       SAXNotRecognizedException,
                       SAXNotSupportedException
Specified by:
setFeature in class SAXParserFactory
Throws:
ParserConfigurationException
SAXNotRecognizedException
SAXNotSupportedException

getFeature

public boolean getFeature(String name)
                   throws ParserConfigurationException,
                          SAXNotRecognizedException,
                          SAXNotSupportedException
Specified by:
getFeature in class SAXParserFactory
Throws:
ParserConfigurationException
SAXNotRecognizedException
SAXNotSupportedException

getSchema

public Schema getSchema()
Overrides:
getSchema in class SAXParserFactory

setSchema

public void setSchema(Schema schema)
Overrides:
setSchema in class SAXParserFactory

setXIncludeAware

public void setXIncludeAware(boolean state)
Overrides:
setXIncludeAware in class SAXParserFactory

isXIncludeAware

public boolean isXIncludeAware()
Overrides:
isXIncludeAware in class SAXParserFactory


Copyright © 2011. All Rights Reserved.