org.sonatype.plexus.components.sec.dispatcher.model.io.xpp3
Class SecurityConfigurationXpp3Reader

java.lang.Object
  extended by org.sonatype.plexus.components.sec.dispatcher.model.io.xpp3.SecurityConfigurationXpp3Reader

public class SecurityConfigurationXpp3Reader
extends java.lang.Object

Class SecurityConfigurationXpp3Reader.

Version:
$Revision$ $Date$

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

SecurityConfigurationXpp3Reader

public SecurityConfigurationXpp3Reader()
Method Detail

getAddDefaultEntities

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

Returns:
boolean

read

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

read

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

read

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

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

read

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

Parameters:
in -
Returns:
SettingsSecurity
Throws:
java.io.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-2010. All Rights Reserved.