Class SkinXpp3Reader
- java.lang.Object
-
- org.apache.maven.doxia.site.skin.io.xpp3.SkinXpp3Reader
-
public class SkinXpp3Reader extends Object
Class SkinXpp3Reader.- Version:
- $Revision$ $Date$
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSkinXpp3Reader.ContentTransformer
-
Field Summary
Fields Modifier and Type Field Description SkinXpp3Reader.ContentTransformercontentTransformerField contentTransformer.
-
Constructor Summary
Constructors Constructor Description SkinXpp3Reader()SkinXpp3Reader(SkinXpp3Reader.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.SkinModelread(InputStream in)Method read.SkinModelread(InputStream in, boolean strict)Method read.SkinModelread(Reader reader)SkinModelread(Reader reader, boolean strict)voidsetAddDefaultEntities(boolean addDefaultEntities)Sets the state of the "add default entities" flag.
-
-
-
Field Detail
-
contentTransformer
public final SkinXpp3Reader.ContentTransformer contentTransformer
Field contentTransformer.
-
-
Constructor Detail
-
SkinXpp3Reader
public SkinXpp3Reader()
-
SkinXpp3Reader
public SkinXpp3Reader(SkinXpp3Reader.ContentTransformer contentTransformer)
-
-
Method Detail
-
getAddDefaultEntities
public boolean getAddDefaultEntities()
Returns the state of the "add default entities" flag.- Returns:
- boolean
-
read
public SkinModel read(Reader reader, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
- Parameters:
reader- a reader object.strict- a strict object.- Returns:
- SkinModel
- Throws:
IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.- See Also:
ReaderFactory.newXmlReader(java.io.InputStream)
-
read
public SkinModel read(Reader reader) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
- Parameters:
reader- a reader object.- Returns:
- SkinModel
- Throws:
IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.- See Also:
ReaderFactory.newXmlReader(java.io.InputStream)
-
read
public SkinModel read(InputStream in, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method read.- Parameters:
in- a in object.strict- a strict object.- Returns:
- SkinModel
- Throws:
IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
read
public SkinModel read(InputStream in) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
Method read.- Parameters:
in- a in object.- Returns:
- SkinModel
- Throws:
IOException- IOException if any.org.codehaus.plexus.util.xml.pull.XmlPullParserException- XmlPullParserException if any.
-
setAddDefaultEntities
public void setAddDefaultEntities(boolean addDefaultEntities)
Sets the state of the "add default entities" flag.- Parameters:
addDefaultEntities- a addDefaultEntities object.
-
-