org.apache.maven.plugin.pmd.model.io.xpp3
Class CpdXpp3Reader

java.lang.Object
  extended by org.apache.maven.plugin.pmd.model.io.xpp3.CpdXpp3Reader

public class CpdXpp3Reader
extends Object

Class CpdXpp3Reader.

Version:
$Revision: 917732 $ $Date: 2014-07-28 22:00:23 +0000 (Mon, 28 Jul 2014) $

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

CpdXpp3Reader

public CpdXpp3Reader()
Method Detail

getAddDefaultEntities

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

Returns:
boolean

read

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

read

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

read

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

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

read

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

Parameters:
in -
Returns:
CpdErrorDetail
Throws:
IOException
XmlPullParserException

setAddDefaultEntities

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

Parameters:
addDefaultEntities -


Copyright © 2005–2014 The Apache Software Foundation. All rights reserved.