You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by do...@apache.org on 2001/12/02 17:10:31 UTC

cvs commit: jakarta-avalon-cornerstone/src/java/org/apache/avalon/cornerstone/services/sax SAXParserFactory.java

donaldp     01/12/02 08:10:31

  Modified:    src/java/org/apache/avalon/cornerstone/services/sax
                        SAXParserFactory.java
  Log:
  Ran through styler.
  
  Revision  Changes    Path
  1.2       +14 -15    jakarta-avalon-cornerstone/src/java/org/apache/avalon/cornerstone/services/sax/SAXParserFactory.java
  
  Index: SAXParserFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-cornerstone/src/java/org/apache/avalon/cornerstone/services/sax/SAXParserFactory.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SAXParserFactory.java	2001/11/12 00:02:37	1.1
  +++ SAXParserFactory.java	2001/12/02 16:10:31	1.2
  @@ -7,14 +7,13 @@
    */
   package org.apache.avalon.cornerstone.services.sax;
   
  -import org.xml.sax.SAXNotSupportedException;
  -import org.xml.sax.SAXNotRecognizedException;
  -
   import javax.xml.parsers.ParserConfigurationException;
  -
  -
  -public interface SAXParserFactory {
  +import org.xml.sax.SAXNotRecognizedException;
  +import org.xml.sax.SAXNotSupportedException;
   
  +public interface SAXParserFactory
  +{
  +    String ROLE = "org.apache.avalon.cornerstone.services.sax.SAXParserFactory";
   
       /**
        * Specifies that the parser produced by this code will
  @@ -25,7 +24,7 @@
        *                  provide support for XML namespaces; false otherwise.
        */
   
  -    void setNamespaceAware(boolean awareness);
  +    void setNamespaceAware( boolean awareness );
   
       /**
        * Specifies that the parser produced by this code will
  @@ -35,8 +34,8 @@
        * @param validating true if the parser produced by this code will
        *                   validate documents as they are parsed; false otherwise.
        */
  -    
  -    void setValidating(boolean validating);
  +
  +    void setValidating( boolean validating );
   
       /**
        * Indicates whether or not the factory is configured to produce
  @@ -45,7 +44,7 @@
        * @return true if the factory is configured to produce
        *         parsers which are namespace aware; false otherwise.
        */
  -    
  +
       boolean isNamespaceAware();
   
       /**
  @@ -55,7 +54,7 @@
        * @return true if the factory is configured to produce parsers which validate
        *         the XML content during parse; false otherwise.
        */
  -    
  +
       boolean isValidating();
   
       /**
  @@ -76,9 +75,9 @@
        *
        * @see org.xml.sax.XMLReader#setFeature
        */
  -    void setFeature(String name, boolean value)
  +    void setFeature( String name, boolean value )
           throws ParserConfigurationException, SAXNotRecognizedException,
  -                SAXNotSupportedException;
  +               SAXNotSupportedException;
   
       /**
        *
  @@ -97,7 +96,7 @@
        *
        * @see org.xml.sax.XMLReader#getProperty
        */
  -    boolean getFeature(String name)
  +    boolean getFeature( String name )
           throws ParserConfigurationException, SAXNotRecognizedException,
  -                SAXNotSupportedException;
  +               SAXNotSupportedException;
   }
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>