Class XBTreeWriter

  • All Implemented Interfaces:
    org.exbin.xbup.core.parser.basic.XBProducer, org.exbin.xbup.core.parser.basic.XBProvider, org.exbin.xbup.core.stream.XBOutput

    @ParametersAreNonnullByDefault
    public class XBTreeWriter
    extends java.lang.Object
    implements org.exbin.xbup.core.parser.basic.XBProvider, org.exbin.xbup.core.parser.basic.XBProducer
    Basic object model parser XBUP level 0 document block / tree node.
    • Constructor Summary

      Constructors 
      Constructor Description
      XBTreeWriter​(org.exbin.xbup.core.block.XBBlock sourceBlock)  
      XBTreeWriter​(org.exbin.xbup.core.block.XBDocument source)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void attachXBListener​(org.exbin.xbup.core.parser.basic.XBListener listener)  
      boolean isFinished()  
      void produceXB​(org.exbin.xbup.core.parser.basic.XBListener listener)  
      void produceXB​(org.exbin.xbup.core.parser.basic.XBListener listener, boolean recursive)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XBTreeWriter

        public XBTreeWriter​(org.exbin.xbup.core.block.XBDocument source)
      • XBTreeWriter

        public XBTreeWriter​(org.exbin.xbup.core.block.XBBlock sourceBlock)
    • Method Detail

      • produceXB

        public void produceXB​(org.exbin.xbup.core.parser.basic.XBListener listener,
                              boolean recursive)
                       throws org.exbin.xbup.core.parser.XBProcessingException,
                              java.io.IOException
        Throws:
        org.exbin.xbup.core.parser.XBProcessingException
        java.io.IOException
      • produceXB

        public void produceXB​(org.exbin.xbup.core.parser.basic.XBListener listener)
        Specified by:
        produceXB in interface org.exbin.xbup.core.parser.basic.XBProvider
      • isFinished

        public boolean isFinished()
      • attachXBListener

        public void attachXBListener​(org.exbin.xbup.core.parser.basic.XBListener listener)
        Specified by:
        attachXBListener in interface org.exbin.xbup.core.parser.basic.XBProducer