Class AbstractFatherBlock

  • All Implemented Interfaces:
    Block
    Direct Known Subclasses:
    BoldBlock, NumberedListBlock

    public abstract class AbstractFatherBlock
    extends java.lang.Object
    implements Block

    Abstract AbstractFatherBlock class.

    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractFatherBlock​(java.util.List<Block> childBlocks)
      Constructor for AbstractFatherBlock.
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract void after​(org.apache.maven.doxia.sink.Sink sink)
      after.
      abstract void before​(org.apache.maven.doxia.sink.Sink sink)
      before.
      java.util.List<Block> getBlocks()
      Getter for the field blocks.
      void traverse​(org.apache.maven.doxia.sink.Sink sink)
      traverse.
      • Methods inherited from class java.lang.Object

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

      • AbstractFatherBlock

        public AbstractFatherBlock​(java.util.List<Block> childBlocks)

        Constructor for AbstractFatherBlock.

        Parameters:
        childBlocks - the child blocks.
    • Method Detail

      • before

        public abstract void before​(org.apache.maven.doxia.sink.Sink sink)

        before.

        Parameters:
        sink - the Sink to receive events.
      • after

        public abstract void after​(org.apache.maven.doxia.sink.Sink sink)

        after.

        Parameters:
        sink - the Sink to receive events.
      • traverse

        public void traverse​(org.apache.maven.doxia.sink.Sink sink)

        traverse.

        Specified by:
        traverse in interface Block
        Parameters:
        sink - a Sink object.
      • getBlocks

        public java.util.List<Block> getBlocks()

        Getter for the field blocks.

        Returns:
        a List object.