org.apache.maven.doxia.module.xhtml
Class XhtmlParser
java.lang.Object
org.apache.maven.doxia.parser.AbstractParser
org.apache.maven.doxia.parser.AbstractXmlParser
org.apache.maven.doxia.module.xhtml.XhtmlParser
- All Implemented Interfaces:
- Markup, XmlMarkup, XhtmlMarkup, Parser
public class XhtmlParser
- extends AbstractXmlParser
- implements XhtmlMarkup
Parse an xhtml model and emit events into the specified doxia
Sink.
- Since:
- 1.0
- Version:
- $Id: XhtmlParser.java 567046 2007-08-17 12:43:02Z ltheussl $
- Author:
- Jason van Zyl
Fields inherited from interface org.apache.maven.doxia.markup.Markup |
EOL, EQUAL, GREATER_THAN, LEFT_CURLY_BRACKET, LEFT_SQUARE_BRACKET, LESS_THAN, MINUS, PLUS, QUOTE, RIGHT_CURLY_BRACKET, RIGHT_SQUARE_BRACKET, SLASH, SPACE, STAR |
Method Summary |
protected void |
handleEndTag(org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
Sink sink)
Goes through the possible end tags. |
protected void |
handleStartTag(org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
Sink sink)
Goes through the possible start tags. |
protected void |
handleText(org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
Sink sink)
Handles text events. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XhtmlParser
public XhtmlParser()
handleStartTag
protected void handleStartTag(org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
Sink sink)
throws org.codehaus.plexus.util.xml.pull.XmlPullParserException,
MacroExecutionException
- Goes through the possible start tags.
- Specified by:
handleStartTag
in class AbstractXmlParser
- Parameters:
parser
- A parser.sink
- the sink to receive the events.
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
- if there's a problem parsing the model
MacroExecutionException
- if there's a problem executing a macro
handleEndTag
protected void handleEndTag(org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
Sink sink)
throws org.codehaus.plexus.util.xml.pull.XmlPullParserException,
MacroExecutionException
- Goes through the possible end tags.
- Specified by:
handleEndTag
in class AbstractXmlParser
- Parameters:
parser
- A parser.sink
- the sink to receive the events.
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
- if there's a problem parsing the model
MacroExecutionException
- if there's a problem executing a macro
handleText
protected void handleText(org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
Sink sink)
throws org.codehaus.plexus.util.xml.pull.XmlPullParserException
- Handles text events.
- Specified by:
handleText
in class AbstractXmlParser
- Parameters:
parser
- A parser.sink
- the sink to receive the events.
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
- if there's a problem parsing the model
Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.