Class StringState

  • All Implemented Interfaces:
    org.xml.sax.ContentHandler

    public class StringState
    extends ExpressionWithoutChildState
    parses <string> pattern.
    • Field Detail

      • text

        protected final java.lang.StringBuffer text
    • Constructor Detail

      • StringState

        public StringState()
    • Method Detail

      • characters

        public void characters​(char[] buf,
                               int from,
                               int len)
        Specified by:
        characters in interface org.xml.sax.ContentHandler
        Overrides:
        characters in class State
      • ignorableWhitespace

        public void ignorableWhitespace​(char[] buf,
                                        int from,
                                        int len)
        Specified by:
        ignorableWhitespace in interface org.xml.sax.ContentHandler
        Overrides:
        ignorableWhitespace in class State
      • makeExpression

        protected Expression makeExpression()
        Description copied from class: ExpressionState
        This method is called from endElement method. Implementation has to provide Expression object that represents the content of this element.
        Specified by:
        makeExpression in class ExpressionState