< prev index next >

src/com/sun/org/apache/xerces/internal/xni/parser/XMLComponentManager.java

Print this page
rev 2127 : 8048021: Remove @version tag in jaxp repo
Reviewed-by: joehw


  19  */
  20 
  21 package com.sun.org.apache.xerces.internal.xni.parser;
  22 
  23 import com.sun.org.apache.xerces.internal.util.FeatureState;
  24 import com.sun.org.apache.xerces.internal.util.PropertyState;
  25 
  26 /**
  27  * The component manager manages a parser configuration and the components
  28  * that make up that configuration. The manager notifies each component
  29  * before parsing to allow the components to initialize their state; and
  30  * also any time that a parser feature or property changes.
  31  * <p>
  32  * The methods of the component manager allow components to query features
  33  * and properties that affect the operation of the component.
  34  *
  35  * @see XMLComponent
  36  *
  37  * @author Andy Clark, IBM
  38  *
  39  * @version $Id: XMLComponentManager.java,v 1.6 2010-11-01 04:40:22 joehw Exp $
  40  */
  41 public interface XMLComponentManager {
  42 
  43     //
  44     // XMLComponentManager methods
  45     //
  46 
  47     /**
  48      * Returns the state of a feature.
  49      *
  50      * @param featureId The feature identifier.
  51      *
  52      * @throws XMLConfigurationException Thrown on configuration error.
  53      */
  54     public boolean getFeature(String featureId)
  55         throws XMLConfigurationException;
  56 
  57     /**
  58      * Returns the state of a feature.
  59      * Does not throw exceptions.




  19  */
  20 
  21 package com.sun.org.apache.xerces.internal.xni.parser;
  22 
  23 import com.sun.org.apache.xerces.internal.util.FeatureState;
  24 import com.sun.org.apache.xerces.internal.util.PropertyState;
  25 
  26 /**
  27  * The component manager manages a parser configuration and the components
  28  * that make up that configuration. The manager notifies each component
  29  * before parsing to allow the components to initialize their state; and
  30  * also any time that a parser feature or property changes.
  31  * <p>
  32  * The methods of the component manager allow components to query features
  33  * and properties that affect the operation of the component.
  34  *
  35  * @see XMLComponent
  36  *
  37  * @author Andy Clark, IBM
  38  *

  39  */
  40 public interface XMLComponentManager {
  41 
  42     //
  43     // XMLComponentManager methods
  44     //
  45 
  46     /**
  47      * Returns the state of a feature.
  48      *
  49      * @param featureId The feature identifier.
  50      *
  51      * @throws XMLConfigurationException Thrown on configuration error.
  52      */
  53     public boolean getFeature(String featureId)
  54         throws XMLConfigurationException;
  55 
  56     /**
  57      * Returns the state of a feature.
  58      * Does not throw exceptions.


< prev index next >