org.apache.maven.doxia.module.docbook
Class DocBookParser
java.lang.Object
org.apache.maven.doxia.parser.AbstractParser
org.apache.maven.doxia.parser.AbstractXmlParser
org.apache.maven.doxia.module.docbook.DocBookParser
- All Implemented Interfaces:
- LogEnabled, Markup, XmlMarkup, DocbookMarkup, Parser
public class DocBookParser
- extends AbstractXmlParser
- implements DocbookMarkup
Parse a Simplified DocBook document
and emit events into the specified doxia Sink.
- Since:
- 1.0
- Version:
- $Id: DocBookParser.java 747837 2009-02-25 15:50:39Z ltheussl $
- Author:
- Jason van Zyl
| Fields inherited from interface org.apache.maven.doxia.module.docbook.DocbookMarkup |
ANCHOR_TAG, ARABIC_STYLE, ARTICLE_TAG, ARTICLEINFO_TAG, BOOK_TAG, BOOKINFO_TAG, CHAPTER_TAG, COLS_ATTRIBUTE, COLSEP_ATTRIBUTE, COLSPEC_TAG, CORPAUTHOR_TAG, DATE_TAG, DEFAULT_SGML_PUBLIC_ID, DEFAULT_SGML_SYSTEM_ID, DEFAULT_XML_PUBLIC_ID, DEFAULT_XML_SYSTEM_ID, EMAIL_TAG, ENTRY_TAG, FIGURE_TAG, FILEREF_ATTRIBUTE, FORMALPARA_TAG, FORMAT_ATTRIBUTE, FRAME_ATTRIBUTE, IMAGEDATA_TAG, IMAGEOBJECT_TAG, INFO_TAG, INFORMALFIGURE_TAG, INFORMALTABLE_TAG, ITEMIZEDLIST_TAG, LINK_TAG, LINKEND_ATTRIBUTE, LISTITEM_TAG, LOWERALPHA_STYLE, LOWERROMAN_STYLE, MEDIAOBJECT_TAG, NUMERATION_ATTRIBUTE, ORDEREDLIST_TAG, PARA_TAG, PROGRAMLISTING_TAG, ROW_TAG, ROWSEP_ATTRIBUTE, SECTION_TAG, SIMPARA_TAG, TBODY_TAG, TERM_TAG, TGROUP_TAG, THEAD_TAG, ULINK_TAG, UPPERALPHA_STYLE, UPPERROMAN_STYLE, URL_ATTRIBUTE, URL_TAG, VARIABLELIST_TAG, VARLISTENTRY_TAG, XREF_TAG |
| 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 |
|
Method Summary |
protected void |
handleCdsect(org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
Sink sink)
|
protected void |
handleComment(org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
Sink sink)
|
protected void |
handleEndTag(org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
Sink sink)
|
protected void |
handleEntity(org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
Sink sink)
|
protected void |
handleStartTag(org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
Sink sink)
|
protected void |
handleText(org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
Sink sink)
|
boolean |
isValidate()
|
| Methods inherited from class org.apache.maven.doxia.parser.AbstractXmlParser |
getAttributesFromParser, getLocalEntities, getText, getType, isCollapsibleWhitespace, isIgnorableWhitespace, isTrimmableWhitespace, parse, parse, setCollapsibleWhitespace, setIgnorableWhitespace, setTrimmableWhitespace, setValidate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocBookParser
public DocBookParser()
handleStartTag
protected void handleStartTag(org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
Sink sink)
throws org.codehaus.plexus.util.xml.pull.XmlPullParserException,
MacroExecutionException
-
- Specified by:
handleStartTag in class AbstractXmlParser
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
MacroExecutionException
handleEndTag
protected void handleEndTag(org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
Sink sink)
throws org.codehaus.plexus.util.xml.pull.XmlPullParserException,
MacroExecutionException
-
- Specified by:
handleEndTag in class AbstractXmlParser
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
MacroExecutionException
handleText
protected void handleText(org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
Sink sink)
throws org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
- Specified by:
handleText in class AbstractXmlParser
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
handleCdsect
protected void handleCdsect(org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
Sink sink)
throws org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
- Specified by:
handleCdsect in class AbstractXmlParser
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
handleComment
protected void handleComment(org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
Sink sink)
throws org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
- Specified by:
handleComment in class AbstractXmlParser
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
handleEntity
protected void handleEntity(org.codehaus.plexus.util.xml.pull.XmlPullParser parser,
Sink sink)
throws org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
- Specified by:
handleEntity in class AbstractXmlParser
- Throws:
org.codehaus.plexus.util.xml.pull.XmlPullParserException
isValidate
public boolean isValidate()
-
- Overrides:
isValidate in class AbstractXmlParser
Copyright © 2005-2009 The Apache Software Foundation. All Rights Reserved.