Class NonTerminalConsumer.ElementConsumer<Element extends AbstractElement>

    • Constructor Detail

      • ElementConsumer

        protected ElementConsumer​(Element element)
    • Method Detail

      • consume

        public int consume()
                    throws java.lang.Exception
        Description copied from interface: IElementConsumer
        Scan the configured input source for a consumable element at the current offset.
        Specified by:
        consume in interface IElementConsumer
        Throws:
        java.lang.Exception
      • doConsume

        protected abstract int doConsume​(boolean optional)
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getElement

        protected final Element getElement()
      • getErrorMessage

        protected java.lang.String getErrorMessage()