Class AbstractXppDomDriver

    • Constructor Detail

      • AbstractXppDomDriver

        public AbstractXppDomDriver​(NameCoder nameCoder)
        Construct an AbstractXppDomDriver.
        Parameters:
        nameCoder - the replacer for XML friendly names
        Since:
        1.4
    • Method Detail

      • createReader

        public HierarchicalStreamReader createReader​(java.io.Reader in)
        Create the HierarchicalStreamReader with the stream parser reading from the IO reader.
        Parameters:
        in - the Reader with the data to parse
        Returns:
        the HierarchicalStreamReader
      • createReader

        public HierarchicalStreamReader createReader​(java.io.InputStream in)
        Create the HierarchicalStreamReader with the stream parser reading from the input stream.
        Parameters:
        in - the InputStream with the data to parse
      • createWriter

        public HierarchicalStreamWriter createWriter​(java.io.Writer out)
        Create the HierarchicalStreamWriter with the formatted writer.
        Parameters:
        out - the Writer to receive the formatted data
        Returns:
        the HierarchicalStreamWriter
      • createWriter

        public HierarchicalStreamWriter createWriter​(java.io.OutputStream out)
        Create the HierarchicalStreamWriter with the formatted writer.
        Parameters:
        out - the OutputStream to receive the formatted data
        Returns:
        the HierarchicalStreamWriter
      • createParser

        protected abstract org.xmlpull.v1.XmlPullParser createParser()
                                                              throws org.xmlpull.v1.XmlPullParserException
        Create the parser of the XPP implementation.
        Throws:
        org.xmlpull.v1.XmlPullParserException - if the parser cannot be created
        Since:
        1.4