avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/xmlutil/src/java/org/apache/excalibur/xml/dom DefaultDOMHandlerFactory.java
Date Tue, 12 Nov 2002 23:35:10 GMT
donaldp     2002/11/12 15:35:10

  Modified:    xmlutil/src/java/org/apache/excalibur/xml/dom
                        DefaultDOMHandlerFactory.java
  Log:
  mark up meta data
  
  Revision  Changes    Path
  1.7       +10 -5     jakarta-avalon-excalibur/xmlutil/src/java/org/apache/excalibur/xml/dom/DefaultDOMHandlerFactory.java
  
  Index: DefaultDOMHandlerFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/xmlutil/src/java/org/apache/excalibur/xml/dom/DefaultDOMHandlerFactory.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- DefaultDOMHandlerFactory.java	2 Oct 2002 01:52:25 -0000	1.6
  +++ DefaultDOMHandlerFactory.java	12 Nov 2002 23:35:10 -0000	1.7
  @@ -20,6 +20,7 @@
   /**
    * @author <a href="mailto:mirceatoma@apache.org">Mircea Toma</a>
    * @version CVS $Revision$ $Date$
  + * @avalon.component
    */
   public class DefaultDOMHandlerFactory
       extends AbstractLogEnabled
  @@ -29,20 +30,24 @@
       private final DocumentBuilderFactory m_documentBuilderFactory = DocumentBuilderFactory.newInstance();
       private DocumentBuilder m_documentBuilder;
   
  -    public void initialize() throws Exception
  +    public void initialize()
  +        throws Exception
       {
           m_documentBuilder = m_documentBuilderFactory.newDocumentBuilder();
       }
   
  -    public DOMHandler createDOMHandler() throws Exception
  +    public DOMHandler createDOMHandler()
  +        throws Exception
       {
           final Document document = m_documentBuilder.newDocument();
           return createDOMHandler( document );
       }
   
  -    public DOMHandler createDOMHandler( Document document ) throws Exception
  +    public DOMHandler createDOMHandler( final Document document )
  +        throws Exception
       {
  -        final TransformerHandler transformerHandler = m_transformerFactory.newTransformerHandler();
  +        final TransformerHandler transformerHandler =
  +            m_transformerFactory.newTransformerHandler();
           return new DefaultDOMHandler( transformerHandler, document );
       }
   }
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message