public class DocumentXpp3Reader extends Object
Constructor and Description |
---|
DocumentXpp3Reader() |
Modifier and Type | Method and Description |
---|---|
boolean |
getAddDefaultEntities()
Returns the state of the "add default entities" flag.
|
DocumentModel |
read(InputStream in)
Method read.
|
DocumentModel |
read(InputStream in,
boolean strict)
Method read.
|
DocumentModel |
read(Reader reader) |
DocumentModel |
read(Reader reader,
boolean strict) |
void |
setAddDefaultEntities(boolean addDefaultEntities)
Sets the state of the "add default entities" flag.
|
public DocumentXpp3Reader()
public boolean getAddDefaultEntities()
public DocumentModel read(Reader reader, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
reader
- strict
- IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
ReaderFactory.newXmlReader(java.io.InputStream)
public DocumentModel read(Reader reader) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
reader
- IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
ReaderFactory.newXmlReader(java.io.InputStream)
public DocumentModel read(InputStream in, boolean strict) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
in
- strict
- IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
public DocumentModel read(InputStream in) throws IOException, org.codehaus.plexus.util.xml.pull.XmlPullParserException
in
- IOException
org.codehaus.plexus.util.xml.pull.XmlPullParserException
public void setAddDefaultEntities(boolean addDefaultEntities)
addDefaultEntities
- Copyright © 2005–2014 The Apache Software Foundation. All rights reserved.