org.apache.maven.shared.release.config.io.xpp3
Class ReleaseDescriptorXpp3Reader

java.lang.Object
  extended by org.apache.maven.shared.release.config.io.xpp3.ReleaseDescriptorXpp3Reader

public class ReleaseDescriptorXpp3Reader
extends Object

Class ReleaseDescriptorXpp3Reader.

Version:
$Revision$ $Date$

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

ReleaseDescriptorXpp3Reader

public ReleaseDescriptorXpp3Reader()
Method Detail

getAddDefaultEntities

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

Returns:
boolean

read

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

read

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

read

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

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

read

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

Parameters:
in -
Returns:
ReleaseDescriptor
Throws:
IOException
XmlPullParserException

setAddDefaultEntities

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

Parameters:
addDefaultEntities -


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