org.sonatype.gshell.command.descriptor.io.xpp3
Class CommandsXpp3Reader

java.lang.Object
  extended by org.sonatype.gshell.command.descriptor.io.xpp3.CommandsXpp3Reader

public class CommandsXpp3Reader
extends Object

Class CommandsXpp3Reader.

Version:
$Revision$ $Date$

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

CommandsXpp3Reader

public CommandsXpp3Reader()
Method Detail

getAddDefaultEntities

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

Returns:
boolean

read

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

read

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

read

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

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

read

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

Parameters:
in -
Returns:
CommandsDescriptor
Throws:
IOException
XmlPullParserException

setAddDefaultEntities

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

Parameters:
addDefaultEntities -


Copyright © 2008-2011 Sonatype. All Rights Reserved.