Package org.apache.maven.model.io.xpp3
Class MavenXpp3Reader
java.lang.Object
org.apache.maven.model.io.xpp3.MavenXpp3Reader
- Direct Known Subclasses:
MavenXpp3ReaderEx
Deprecated.
Use MavenStaxReader instead
-
Nested Class Summary
-
Constructor Summary
ModifierConstructorDescriptionDeprecated.MavenXpp3Reader
(MavenXpp3Reader.ContentTransformer contentTransformer) Deprecated.protected
MavenXpp3Reader
(MavenXpp3Reader.ContentTransformer contentTransformer, boolean addLocationInformation) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.Returns the state of the "add default entities" flag.read
(InputStream in) Deprecated.Method read.read
(InputStream in, boolean strict) Deprecated.Method read.protected Model
read
(InputStream is, boolean strict, InputSource source) Deprecated.Deprecated.Deprecated.protected Model
read
(Reader reader, boolean strict, InputSource source) Deprecated.void
setAddDefaultEntities
(boolean addDefaultEntities) Deprecated.Sets the state of the "add default entities" flag.
-
Constructor Details
-
MavenXpp3Reader
public MavenXpp3Reader()Deprecated. -
MavenXpp3Reader
Deprecated. -
MavenXpp3Reader
protected MavenXpp3Reader(MavenXpp3Reader.ContentTransformer contentTransformer, boolean addLocationInformation) Deprecated.
-
-
Method Details
-
getAddDefaultEntities
public boolean getAddDefaultEntities()Deprecated.Returns the state of the "add default entities" flag.- Returns:
- boolean
-
setAddDefaultEntities
public void setAddDefaultEntities(boolean addDefaultEntities) Deprecated.Sets the state of the "add default entities" flag.- Parameters:
addDefaultEntities
- a addDefaultEntities object.
-
read
protected Model read(Reader reader, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Deprecated.- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
read
public Model read(Reader reader, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Deprecated.- Parameters:
reader
- a reader object.strict
- a strict object.- Returns:
- Model
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
read
public Model read(Reader reader) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Deprecated.- Parameters:
reader
- a reader object.- Returns:
- Model
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
read
protected Model read(InputStream is, boolean strict, InputSource source) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Deprecated.- Throws:
IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
-
read
public Model read(InputStream in, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Deprecated.Method read.- Parameters:
in
- a in object.strict
- a strict object.- Returns:
- Model
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-
read
public Model read(InputStream in) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException Deprecated.Method read.- Parameters:
in
- a in object.- Returns:
- Model
- Throws:
IOException
- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException
- XmlPullParserException if any.
-