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/sax JaxpParser.java
Date Thu, 07 Nov 2002 04:42:09 GMT
donaldp     2002/11/06 20:42:09

  Modified:    xmlutil/src/java/org/apache/excalibur/xml/sax
                        JaxpParser.java
  Log:
  Start marking out metadata in javadocs so that metaclass can extract it via something like;
  
  //Retrieve the MetaClass for a particular class in a
  // particular classloader
  MetaClass meta =
    ClassManager.loadClass( "org.apache.ant.tasks.ZipTask", classLoader );
  
    //Get the first (and only) class attribute named "ant.task"
    Attribute attr = meta.getClassAttribute( "ant.task" );
  
    //Get the name parameter of attribute
    String value = attr.getParameter( "name" );
  
    //Should print out "value = zip"
    System.out.println( "value = " + value );
  
  Revision  Changes    Path
  1.2       +4 -2      jakarta-avalon-excalibur/xmlutil/src/java/org/apache/excalibur/xml/sax/JaxpParser.java
  
  Index: JaxpParser.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/xmlutil/src/java/org/apache/excalibur/xml/sax/JaxpParser.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- JaxpParser.java	15 Oct 2002 23:58:18 -0000	1.1
  +++ JaxpParser.java	7 Nov 2002 04:42:09 -0000	1.2
  @@ -91,7 +91,9 @@
       private boolean m_stopOnRecoverableError;
   
       /**
  -     * Get the Entity Resolver from the component manager
  +     * Get the Entity Resolver from the component m_manager
  +     *
  +     * @avalon.service interface="EntityResolver" optional="true"
        */
       public void service( final ServiceManager manager )
           throws ServiceException
  
  
  

--
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