Interface XBSkipableStream

  • All Known Implementing Classes:
    XBPullReader

    public interface XBSkipableStream
    Interface for stream with skipable tokens.
    • Method Detail

      • skipXB

        void skipXB​(long tokenCount)
             throws XBProcessingException,
                    java.io.IOException
        Skips given count of tokens in stream.
        Parameters:
        tokenCount - count of tokens
        Throws:
        java.io.IOException - if input/output error
        XBProcessingException
      • skipChildXB

        void skipChildXB​(long childBlocksCount)
                  throws XBProcessingException,
                         java.io.IOException
        Skips child blocks.
        Parameters:
        childBlocksCount - count of child blocks to skip
        Throws:
        java.io.IOException - if input/output error
        XBProcessingException
      • skipAttributesXB

        void skipAttributesXB​(long childBlocksCount)
                       throws XBProcessingException,
                              java.io.IOException
        Skips child blocks.
        Parameters:
        childBlocksCount - count of child blocks to skip
        Throws:
        java.io.IOException - if input/output error
        XBProcessingException