Interface Base

    • Method Detail

      • getDefaultWriterOptions

        WriterOptions getDefaultWriterOptions()
        Deprecated.
        Get the default WriterOptions for this object
      • writeTo

        void writeTo​(OutputStream out,
                     WriterOptions options)
              throws IOException
        Deprecated.
        Serializes the model component out to the specified stream
        Parameters:
        out - The target output stream
        options - The WriterOptions to use
        Throws:
        IOException
      • writeTo

        void writeTo​(Writer out,
                     WriterOptions options)
              throws IOException
        Deprecated.
        Serializes the model component out to the specified java.io.Writer
        Parameters:
        out - The target output writer
        options - The WriterOptions to use
        Throws:
        IOException
      • writeTo

        void writeTo​(Writer writer,
                     OutputStream out)
              throws IOException
        Deprecated.
        Serializes the model component out to the specified stream using the given Abdera writer
        Parameters:
        writer - The Abdera writer to use
        out - The target output stream
        Throws:
        IOException
      • writeTo

        void writeTo​(Writer writer,
                     Writer out)
              throws IOException
        Deprecated.
        Serializes the model component out to the specified java.io.Writer using the given Abdera writer
        Parameters:
        writer - The Abdera writer to use
        out - The target output writer
        Throws:
        IOException
      • writeTo

        void writeTo​(String writer,
                     OutputStream out)
              throws IOException
        Deprecated.
        Serializes the model component out to the specified stream using the given Abdera writer
        Parameters:
        writer - The Abdera writer to use
        out - The target output stream
        Throws:
        IOException
      • writeTo

        void writeTo​(String writer,
                     Writer out)
              throws IOException
        Deprecated.
        Serializes the model component out to the specified java.io.Writer using the given Abdera writer
        Parameters:
        writer - The Abdera writer to use
        out - The target output writer
        Throws:
        IOException
      • writeTo

        void writeTo​(Writer writer,
                     OutputStream out,
                     WriterOptions options)
              throws IOException
        Deprecated.
        Serializes the model component out to the specified stream using the given abdera writer
        Parameters:
        writer - The Abdera writer to use
        out - The target output stream
        options - The WriterOptions to use
        Throws:
        IOException
      • writeTo

        void writeTo​(Writer writer,
                     Writer out,
                     WriterOptions options)
              throws IOException
        Deprecated.
        Serializes the model component out to the specified java.io.Writer using the given abdera writer
        Parameters:
        writer - The Abdera writer to use
        out - The target output writer
        options - The WriterOptions to use
        Throws:
        IOException
      • writeTo

        void writeTo​(String writer,
                     OutputStream out,
                     WriterOptions options)
              throws IOException
        Deprecated.
        Serializes the model component out to the specified stream using the given abdera writer
        Parameters:
        writer - The name of the Abdera writer to use
        out - The target output stream
        options - The WriterOptions to use
        Throws:
        IOException
      • writeTo

        void writeTo​(String writer,
                     Writer out,
                     WriterOptions options)
              throws IOException
        Deprecated.
        Serializes the model component out to the specified java.io.Writer using the given abdera writer
        Parameters:
        writer - The name of the Abdera writer to use
        out - The target output writer
        options - The WriterOptions to use
        Throws:
        IOException
      • writeTo

        void writeTo​(OutputStream out)
              throws IOException
        Deprecated.
        Serializes the model component out to the specified stream
        Parameters:
        out - The java.io.OutputStream to use when serializing the Base. The charset encoding specified for the document will be used
        Throws:
        IOException
      • writeTo

        void writeTo​(Writer writer)
              throws IOException
        Deprecated.
        Serializes the model component out to the specified writer
        Parameters:
        writer - The java.io.Writer to use when serializing the Base
        Throws:
        IOException
      • clone

        Object clone()
        Deprecated.
        Clone this Base
      • getFactory

        Factory getFactory()
        Deprecated.
        Get the Factory used to create this Base
        Returns:
        The Factory used to create this object
      • addComment

        <T extends Base> T addComment​(String value)
        Deprecated.
        Add an XML comment to this Base
        Parameters:
        value - The text value of the comment
      • complete

        <T extends Base> T complete()
        Deprecated.
        Ensure that the underlying streams are fully parsed. Calling complete on an Element does not necessarily mean that the underlying stream is fully consumed, only that that particular element has been completely parsed.