Package snap.util

Class XMLParser.XMLTokenizer

java.lang.Object
snap.parse.Tokenizer
snap.util.XMLParser.XMLTokenizer
Enclosing class:
XMLParser

public static class XMLParser.XMLTokenizer extends Tokenizer
A Tokenizer subclass to read XML contents.
  • Constructor Details

    • XMLTokenizer

      public XMLTokenizer()
  • Method Details

    • getContent

      protected String getContent()
      Called to return the value of an element and update the char index.
    • isNext

      public boolean isNext(String aStr)
      Returns whether the given string is up next.