org.apache.maven.doxia.parser
Class AbstractTextParser

java.lang.Object
  extended by org.apache.maven.doxia.parser.AbstractParser
      extended by org.apache.maven.doxia.parser.AbstractTextParser
All Implemented Interfaces:
LogEnabled, Markup, TextMarkup, Parser

public abstract class AbstractTextParser
extends AbstractParser
implements TextMarkup

An abstract class that defines some convenience methods for Text parsers.

Since:
1.0
Version:
$Id: AbstractTextParser.java 1185112 2011-10-17 11:33:00Z ltheussl $
Author:
Vincent Siveton

Field Summary
 
Fields inherited from interface org.apache.maven.doxia.markup.TextMarkup
PIPE
 
Fields inherited from interface org.apache.maven.doxia.markup.Markup
COLON, EOL, EQUAL, GREATER_THAN, LEFT_CURLY_BRACKET, LEFT_SQUARE_BRACKET, LESS_THAN, MINUS, PLUS, QUOTE, RIGHT_CURLY_BRACKET, RIGHT_SQUARE_BRACKET, SEMICOLON, SLASH, SPACE, STAR
 
Fields inherited from interface org.apache.maven.doxia.parser.Parser
ROLE, TXT_TYPE, UNKNOWN_TYPE, XML_TYPE
 
Constructor Summary
AbstractTextParser()
           
 
Method Summary
 int getType()
          The parser type value could be Parser.UNKNOWN_TYPE, Parser.TXT_TYPE or Parser.XML_TYPE.
 
Methods inherited from class org.apache.maven.doxia.parser.AbstractParser
doxiaVersion, enableLogging, executeMacro, getBasedir, getLog, getMacroManager, init, isSecondParsing, parse, setSecondParsing
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.maven.doxia.parser.Parser
parse
 

Constructor Detail

AbstractTextParser

public AbstractTextParser()
Method Detail

getType

public final int getType()
The parser type value could be Parser.UNKNOWN_TYPE, Parser.TXT_TYPE or Parser.XML_TYPE.

Specified by:
getType in interface Parser
Overrides:
getType in class AbstractParser
Returns:
the type of Parser


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.