org.apache.maven.doxia.module.apt
Interface AptSource

All Known Implementing Classes:
AptReaderSource

public interface AptSource

An interface to read apt source documents.


Method Summary
 int getLineNumber()
          Gets the current line number while parsing the document.
 String getName()
          Returns the name the apt source document.
 String getNextLine()
          Returns a line of the apt source document.
 

Method Detail

getNextLine

public String getNextLine()
                   throws AptParseException
Returns a line of the apt source document.

Returns:
a line of the apt source.
Throws:
AptParseException - if the document can't be parsed.

getName

public String getName()
Returns the name the apt source document.

Returns:
the name the apt source document.

getLineNumber

public int getLineNumber()
Gets the current line number while parsing the document.

Returns:
the line number.


Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.