/** * Convenience shortcut method to parse a specific token type */ public LongToken visitLong(EditsElement e) throws IOException { return (LongToken)visit(tokenizer.read(new LongToken(e))); }
/** * Convenience shortcut method to parse a specific token type */ public IntToken visitInt(EditsElement e) throws IOException { return (IntToken)visit(tokenizer.read(new IntToken(e))); }
/** * Convenience shortcut method to parse a specific token type */ public BytesWritableToken visitBytesWritable(EditsElement e) throws IOException { return (BytesWritableToken)visit(tokenizer.read(new BytesWritableToken(e))); }
/** * Convenience shortcut method to parse a specific token type */ public EmptyToken visitEmpty(EditsElement e) throws IOException { return (EmptyToken)visit(tokenizer.read(new EmptyToken(e))); }
/** * Convenience shortcut method to parse a specific token type */ public VLongToken visitVLong(EditsElement e) throws IOException { return (VLongToken)visit(tokenizer.read(new VLongToken(e))); }
/** * Convenience shortcut method to parse a specific token type */ public StringTextToken visitStringText(EditsElement e) throws IOException { return (StringTextToken)visit(tokenizer.read(new StringTextToken(e))); }
/** * Convenience shortcut method to parse a specific token type */ public BlobToken visitBlob(EditsElement e, int length) throws IOException { return (BlobToken)visit(tokenizer.read(new BlobToken(e, length))); }
/** * Convenience shortcut method (it virutally always uses EmptyToken) */ void visitEnclosingElement(EditsElement e) throws IOException { visitEnclosingElement(tokenizer.read(new EmptyToken(e))); }
/** * Convenience shortcut method to parse a specific token type */ public ByteToken visitByte(EditsElement e) throws IOException { return (ByteToken)visit(tokenizer.read(new ByteToken(e))); }
/** * Convenience shortcut method to parse a specific token type */ public ShortToken visitShort(EditsElement e) throws IOException { return (ShortToken)visit(tokenizer.read(new ShortToken(e))); }
/** * Convenience shortcut method to parse a specific token type */ public VIntToken visitVInt(EditsElement e) throws IOException { return (VIntToken)visit(tokenizer.read(new VIntToken(e))); }
/** * Convenience shortcut method to parse a specific token type */ public StringUTF8Token visitStringUTF8(EditsElement e) throws IOException { return (StringUTF8Token)visit(tokenizer.read(new StringUTF8Token(e))); }