org.apache.maven.doxia.book.model.io.xpp3
Class BookModelXpp3Reader

java.lang.Object
  extended by org.apache.maven.doxia.book.model.io.xpp3.BookModelXpp3Reader

public class BookModelXpp3Reader
extends Object

Class BookModelXpp3Reader.

Version:
$Revision$ $Date$

Constructor Summary
BookModelXpp3Reader()
           
 
Method Summary
 boolean getAddDefaultEntities()
          Returns the state of the "add default entities" flag.
 BookModel read(InputStream in)
          Method read.
 BookModel read(InputStream in, boolean strict)
          Method read.
 BookModel read(Reader reader)
           
 BookModel read(Reader reader, boolean strict)
           
 void setAddDefaultEntities(boolean addDefaultEntities)
          Sets the state of the "add default entities" flag.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BookModelXpp3Reader

public BookModelXpp3Reader()
Method Detail

getAddDefaultEntities

public boolean getAddDefaultEntities()
Returns the state of the "add default entities" flag.

Returns:
boolean

read

public BookModel read(Reader reader,
                      boolean strict)
               throws IOException,
                      XmlPullParserException
Parameters:
reader -
strict -
Returns:
BookModel
Throws:
IOException
XmlPullParserException
See Also:
ReaderFactory.newXmlReader(java.io.InputStream)

read

public BookModel read(Reader reader)
               throws IOException,
                      XmlPullParserException
Parameters:
reader -
Returns:
BookModel
Throws:
IOException
XmlPullParserException
See Also:
ReaderFactory.newXmlReader(java.io.InputStream)

read

public BookModel read(InputStream in,
                      boolean strict)
               throws IOException,
                      XmlPullParserException
Method read.

Parameters:
in -
strict -
Returns:
BookModel
Throws:
IOException
XmlPullParserException

read

public BookModel read(InputStream in)
               throws IOException,
                      XmlPullParserException
Method read.

Parameters:
in -
Returns:
BookModel
Throws:
IOException
XmlPullParserException

setAddDefaultEntities

public void setAddDefaultEntities(boolean addDefaultEntities)
Sets the state of the "add default entities" flag.

Parameters:
addDefaultEntities -


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