org.apache.maven.doxia.document.io.xpp3
Class DocumentXpp3Reader

java.lang.Object
  extended by org.apache.maven.doxia.document.io.xpp3.DocumentXpp3Reader

public class DocumentXpp3Reader
extends Object

Class DocumentXpp3Reader.

Version:
$Revision$ $Date$

Constructor Summary
DocumentXpp3Reader()
           
 
Method Summary
 boolean getAddDefaultEntities()
          Returns the state of the "add default entities" flag.
 DocumentModel read(InputStream in)
          Method read.
 DocumentModel read(InputStream in, boolean strict)
          Method read.
 DocumentModel read(Reader reader)
           
 DocumentModel 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

DocumentXpp3Reader

public DocumentXpp3Reader()
Method Detail

getAddDefaultEntities

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

Returns:
boolean

read

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

read

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

read

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

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

read

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

Parameters:
in -
Returns:
DocumentModel
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.