Class VssXpp3Reader
- java.lang.Object
-
- org.apache.maven.scm.providers.vss.settings.io.xpp3.VssXpp3Reader
-
public class VssXpp3Reader extends Object
Class VssXpp3Reader.- Version:
- $Revision$ $Date$
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceVssXpp3Reader.ContentTransformer
-
Field Summary
Fields Modifier and Type Field Description VssXpp3Reader.ContentTransformercontentTransformerField contentTransformer.
-
Constructor Summary
Constructors Constructor Description VssXpp3Reader()VssXpp3Reader(VssXpp3Reader.ContentTransformer contentTransformer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetAddDefaultEntities()Returns the state of the "add default entities" flag.Settingsread(InputStream in)Method read.Settingsread(InputStream in, boolean strict)Method read.Settingsread(Reader reader)Settingsread(Reader reader, boolean strict)voidsetAddDefaultEntities(boolean addDefaultEntities)Sets the state of the "add default entities" flag.
-
-
-
Field Detail
-
contentTransformer
public final VssXpp3Reader.ContentTransformer contentTransformer
Field contentTransformer.
-
-
Constructor Detail
-
VssXpp3Reader
public VssXpp3Reader()
-
VssXpp3Reader
public VssXpp3Reader(VssXpp3Reader.ContentTransformer contentTransformer)
-
-
Method Detail
-
getAddDefaultEntities
public boolean getAddDefaultEntities()
Returns the state of the "add default entities" flag.- Returns:
- boolean
-
read
public Settings read(Reader reader, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
- Parameters:
reader-strict-- Returns:
- Settings
- Throws:
IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException- See Also:
ReaderFactory.newXmlReader(java.io.InputStream)
-
read
public Settings read(Reader reader) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
- Parameters:
reader-- Returns:
- Settings
- Throws:
IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException- See Also:
ReaderFactory.newXmlReader(java.io.InputStream)
-
read
public Settings read(InputStream in, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method read.- Parameters:
in-strict-- Returns:
- Settings
- Throws:
IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException
-
read
public Settings read(InputStream in) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method read.- Parameters:
in-- Returns:
- Settings
- Throws:
IOExceptionorg.codehaus.plexus.util.xml.pull.XmlPullParserException
-
setAddDefaultEntities
public void setAddDefaultEntities(boolean addDefaultEntities)
Sets the state of the "add default entities" flag.- Parameters:
addDefaultEntities-
-
-