/* */ package org.jaxen.saxpath.base;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ class
Token
/* */ {
/* */ private int
tokenType;
/* */ private
String parseText;
/* */ private int
tokenBegin;
/* */ private int
tokenEnd;
/* */
/* */
Token(int
tokenType,
String parseText, int
tokenBegin, int
tokenEnd) {
/* 66 */
setTokenType(
tokenType);
/* 67 */
setParseText(
parseText);
/* 68 */
setTokenBegin(
tokenBegin);
/* 69 */
setTokenEnd(
tokenEnd);
/* */ }
/* */
/* */
/* */ private void
setTokenType(int
tokenType) {
/* 74 */ this.
tokenType =
tokenType;
/* */ }
/* */
/* */
/* */ int
getTokenType() {
/* 79 */ return this.
tokenType;
/* */ }
/* */
/* */
/* */ private void
setParseText(
String parseText) {
/* 84 */ this.
parseText =
parseText;
/* */ }
/* */
/* */
/* */
String getTokenText() {
/* 89 */ return this.
parseText.
substring(
getTokenBegin(),
getTokenEnd());
/* */ }
/* */
/* */
/* */
/* */ private void
setTokenBegin(int
tokenBegin) {
/* 95 */ this.
tokenBegin =
tokenBegin;
/* */ }
/* */
/* */
/* */ int
getTokenBegin() {
/* 100 */ return this.
tokenBegin;
/* */ }
/* */
/* */
/* */ private void
setTokenEnd(int
tokenEnd) {
/* 105 */ this.
tokenEnd =
tokenEnd;
/* */ }
/* */
/* */
/* */ int
getTokenEnd() {
/* 110 */ return this.
tokenEnd;
/* */ }
/* */
/* */
/* */ public
String toString() {
/* 115 */ return "[ (" + this.
tokenType + ") (" +
getTokenText() + ")";
/* */ }
/* */ }
/* Location: /Users/tommy/.m2/repository/jaxen/jaxen/1.1.1/jaxen-1.1.1.jar!/org/jaxen/saxpath/base/Token.class
* Java compiler version: 2 (46.0)
* JD-Core Version: 1.1.3
*/