Class DocumentXpp3Reader


  • public class DocumentXpp3Reader
    extends java.lang.Object
    Class DocumentXpp3Reader.
    Version:
    $Revision$ $Date$
    • Method Detail

      • getAddDefaultEntities

        public boolean getAddDefaultEntities()
        Returns the state of the "add default entities" flag.
        Returns:
        boolean
      • read

        public DocumentModel read​(java.io.Reader reader,
                                  boolean strict)
                           throws java.io.IOException,
                                  org.codehaus.plexus.util.xml.pull.XmlPullParserException
        Parameters:
        reader -
        strict -
        Returns:
        DocumentModel
        Throws:
        java.io.IOException
        org.codehaus.plexus.util.xml.pull.XmlPullParserException
        See Also:
        ReaderFactory.newXmlReader(java.io.InputStream)
      • read

        public DocumentModel read​(java.io.Reader reader)
                           throws java.io.IOException,
                                  org.codehaus.plexus.util.xml.pull.XmlPullParserException
        Parameters:
        reader -
        Returns:
        DocumentModel
        Throws:
        java.io.IOException
        org.codehaus.plexus.util.xml.pull.XmlPullParserException
        See Also:
        ReaderFactory.newXmlReader(java.io.InputStream)
      • read

        public DocumentModel read​(java.io.InputStream in,
                                  boolean strict)
                           throws java.io.IOException,
                                  org.codehaus.plexus.util.xml.pull.XmlPullParserException
        Method read.
        Parameters:
        in -
        strict -
        Returns:
        DocumentModel
        Throws:
        java.io.IOException
        org.codehaus.plexus.util.xml.pull.XmlPullParserException
      • read

        public DocumentModel read​(java.io.InputStream in)
                           throws java.io.IOException,
                                  org.codehaus.plexus.util.xml.pull.XmlPullParserException
        Method read.
        Parameters:
        in -
        Returns:
        DocumentModel
        Throws:
        java.io.IOException
        org.codehaus.plexus.util.xml.pull.XmlPullParserException
      • setAddDefaultEntities

        public void setAddDefaultEntities​(boolean addDefaultEntities)
        Sets the state of the "add default entities" flag.
        Parameters:
        addDefaultEntities -