org.apache.maven.doxia.module.apt

Interface AptSource

public interface AptSource

An interface to read apt source documents.
Method Summary
intgetLineNumber()
Gets the current line number while parsing the document.
StringgetName()
Returns the name the apt source document.
StringgetNextLine()
Returns a line of the apt source document.

Method Detail

getLineNumber

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

Returns: the line number.

getName

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

Returns: the name the apt source document.

getNextLine

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

Returns: a line of the apt source.

Throws: AptParseException if the document can't be parsed.

Copyright © 2002-2010 Apache Software Foundation. All Rights Reserved.