Class BuildJobXpp3Reader
- java.lang.Object
-
- org.apache.maven.plugins.invoker.model.io.xpp3.BuildJobXpp3Reader
-
public class BuildJobXpp3Reader extends java.lang.ObjectClass BuildJobXpp3Reader.- Version:
- $Revision$ $Date$
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBuildJobXpp3Reader.ContentTransformer
-
Field Summary
Fields Modifier and Type Field Description BuildJobXpp3Reader.ContentTransformercontentTransformerField contentTransformer.
-
Constructor Summary
Constructors Constructor Description BuildJobXpp3Reader()BuildJobXpp3Reader(BuildJobXpp3Reader.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.BuildJobread(java.io.InputStream in)Method read.BuildJobread(java.io.InputStream in, boolean strict)Method read.BuildJobread(java.io.Reader reader)BuildJobread(java.io.Reader reader, boolean strict)voidsetAddDefaultEntities(boolean addDefaultEntities)Sets the state of the "add default entities" flag.
-
-
-
Field Detail
-
contentTransformer
public final BuildJobXpp3Reader.ContentTransformer contentTransformer
Field contentTransformer.
-
-
Constructor Detail
-
BuildJobXpp3Reader
public BuildJobXpp3Reader()
-
BuildJobXpp3Reader
public BuildJobXpp3Reader(BuildJobXpp3Reader.ContentTransformer contentTransformer)
-
-
Method Detail
-
getAddDefaultEntities
public boolean getAddDefaultEntities()
Returns the state of the "add default entities" flag.- Returns:
- boolean
-
read
public BuildJob read(java.io.Reader reader, boolean strict) throws java.io.IOException, XmlPullParserException
- Parameters:
reader-strict-- Returns:
- BuildJob
- Throws:
java.io.IOExceptionXmlPullParserException- See Also:
ReaderFactory.newXmlReader(java.io.InputStream)
-
read
public BuildJob read(java.io.Reader reader) throws java.io.IOException, XmlPullParserException
- Parameters:
reader-- Returns:
- BuildJob
- Throws:
java.io.IOExceptionXmlPullParserException- See Also:
ReaderFactory.newXmlReader(java.io.InputStream)
-
read
public BuildJob read(java.io.InputStream in, boolean strict) throws java.io.IOException, XmlPullParserException
Method read.- Parameters:
in-strict-- Returns:
- BuildJob
- Throws:
java.io.IOExceptionXmlPullParserException
-
read
public BuildJob read(java.io.InputStream in) throws java.io.IOException, XmlPullParserException
Method read.- Parameters:
in-- Returns:
- BuildJob
- Throws:
java.io.IOExceptionXmlPullParserException
-
setAddDefaultEntities
public void setAddDefaultEntities(boolean addDefaultEntities)
Sets the state of the "add default entities" flag.- Parameters:
addDefaultEntities-
-
-