org.apache.maven.profiles.io.xpp3
Class ProfilesXpp3Reader

java.lang.Object
  extended by org.apache.maven.profiles.io.xpp3.ProfilesXpp3Reader

public class ProfilesXpp3Reader
extends Object

Class ProfilesXpp3Reader.

Version:
$Revision$ $Date$

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

ProfilesXpp3Reader

public ProfilesXpp3Reader()
Method Detail

getAddDefaultEntities

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

Returns:
boolean

read

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

read

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

read

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

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

read

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

Parameters:
in -
Returns:
ProfilesRoot
Throws:
IOException
XmlPullParserException

setAddDefaultEntities

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

Parameters:
addDefaultEntities -


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