donaldp 2002/07/06 23:09:51 Modified: xmlbundle/src/java/org/apache/avalon/excalibur/xml Parser.java Log: Update javadoc to use {@link X} rather than <code>X</code> Revision Changes Path 1.2 +9 -11 jakarta-avalon-excalibur/xmlbundle/src/java/org/apache/avalon/excalibur/xml/Parser.java Index: Parser.java =================================================================== RCS file: /home/cvs/jakarta-avalon-excalibur/xmlbundle/src/java/org/apache/avalon/excalibur/xml/Parser.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- Parser.java 22 Apr 2002 10:06:04 -0000 1.1 +++ Parser.java 7 Jul 2002 06:09:51 -0000 1.2 @@ -16,32 +16,31 @@ import org.xml.sax.ext.LexicalHandler; /** - * * The parser can be used to parse any XML document given - * by a <code>InputSource</code> object. + * by a {@link InputSource} object. * It can either send XML events or create a DOM from * the parsed document. * * @author <a href="mailto:[EMAIL PROTECTED]">Carsten Ziegeler</a> * @version CVS $Revision$ $Date$ */ -public interface Parser extends Component +public interface Parser + extends Component { - String ROLE = Parser.class.getName(); /** - * Parse the <code>InputSource</code> and send + * Parse the {@link InputSource} and send * SAX events to the consumer. * Attention: the consumer can implement the - * <code>LexicalHandler</code> as well. + * {@link LexicalHandler} as well. * The parse should take care of this. */ void parse( InputSource in, ContentHandler consumer ) throws SAXException, IOException; /** - * Parse the <code>InputSource</code> and send + * Parse the {@link InputSource} and send * SAX events to the content handler and * the lexical handler. */ @@ -51,15 +50,14 @@ throws SAXException, IOException; /** - * Parse the <code>InputSource</code> and create + * Parse the {@link InputSource} and create * a DOM out of it. */ Document parseDocument( InputSource in ) throws SAXException, IOException; /** - * Return a new <code>Document</code>. + * Return a new {@link Document}. */ Document createDocument() throws SAXException; - }
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>