org.codehaus.mojo.versions.model.io.xpp3
Class RuleXpp3Reader

java.lang.Object
  extended by org.codehaus.mojo.versions.model.io.xpp3.RuleXpp3Reader

public class RuleXpp3Reader
extends Object

Class RuleXpp3Reader.

Version:
$Revision$ $Date$

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

RuleXpp3Reader

public RuleXpp3Reader()
Method Detail

getAddDefaultEntities

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

Returns:
boolean

read

public RuleSet read(Reader reader,
                    boolean strict)
             throws IOException,
                    org.codehaus.plexus.util.xml.pull.XmlPullParserException
Parameters:
reader -
strict -
Returns:
RuleSet
Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
See Also:
ReaderFactory.newXmlReader(java.io.InputStream)

read

public RuleSet read(Reader reader)
             throws IOException,
                    org.codehaus.plexus.util.xml.pull.XmlPullParserException
Parameters:
reader -
Returns:
RuleSet
Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
See Also:
ReaderFactory.newXmlReader(java.io.InputStream)

read

public RuleSet read(InputStream in,
                    boolean strict)
             throws IOException,
                    org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method read.

Parameters:
in -
strict -
Returns:
RuleSet
Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException

read

public RuleSet read(InputStream in)
             throws IOException,
                    org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method read.

Parameters:
in -
Returns:
RuleSet
Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException

setAddDefaultEntities

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

Parameters:
addDefaultEntities -


Copyright © 2008-2011 Codehaus. All Rights Reserved.