com.thaiopensource.pullax
Interface XmlScannerFactory


public interface XmlScannerFactory


Method Summary
 void addFeature(XmlFeature feature)
          Sometimes a particular value for one feature must imply a particular value for another feature.
 XmlScannerFactory copy()
           
 XmlScanner createScanner(XmlInputSource input)
           
 XmlEntityResolver getEntityResolver()
           
 java.util.Locale getLocale()
           
 XmlReporter getReporter()
           
 boolean hasFeature(XmlFeature feature)
           
 void setEntityResolver(XmlEntityResolver resolver)
           
 void setFeatures(XmlFeature[] features)
          Adds the specified features to the factory and removes all other features.
 void setLocale(java.util.Locale locale)
           
 void setReporter(XmlReporter reporter)
           
 

Method Detail

createScanner

public XmlScanner createScanner(XmlInputSource input)
                         throws java.io.IOException

setFeatures

public void setFeatures(XmlFeature[] features)
                 throws XmlNotSupportedException
Adds the specified features to the factory and removes all other features. Also adds the features implied by the specified features.
Throws:
XmlNotSupportedException - if not all required features are included in features

addFeature

public void addFeature(XmlFeature feature)
                throws XmlNotSupportedException
Sometimes a particular value for one feature must imply a particular value for another feature. In this case, adding one feature to that value should automatically set any features it implies.

hasFeature

public boolean hasFeature(XmlFeature feature)

setEntityResolver

public void setEntityResolver(XmlEntityResolver resolver)

getEntityResolver

public XmlEntityResolver getEntityResolver()

setReporter

public void setReporter(XmlReporter reporter)

getReporter

public XmlReporter getReporter()

copy

public XmlScannerFactory copy()

setLocale

public void setLocale(java.util.Locale locale)

getLocale

public java.util.Locale getLocale()