/** * * @see org.apache.wicket.markup.parser.IXmlPullParser#getInput(int, int) */ public final CharSequence getInput(final int fromPos, final int toPos) { return input.getSubstring(fromPos, toPos); }
@Override public final CharSequence getInputFromPositionMarker(final int toPos) { return input.getSubstring(toPos); }
@Override public final CharSequence getInput(final int fromPos, final int toPos) { return input.getSubstring(fromPos, toPos); }
/** * * @see org.apache.wicket.markup.parser.IXmlPullParser#getInputFromPositionMarker(int) */ public final CharSequence getInputFromPositionMarker(final int toPos) { return input.getSubstring(toPos); }
/** * * @see org.apache.wicket.markup.parser.IXmlPullParser#getInput(int, int) */ public final CharSequence getInput(final int fromPos, final int toPos) { return input.getSubstring(fromPos, toPos); }
@Override public final CharSequence getInputFromPositionMarker(final int toPos) { return input.getSubstring(toPos); }
@Override public final CharSequence getInput(final int fromPos, final int toPos) { return input.getSubstring(fromPos, toPos); }
/** * * @see org.apache.wicket.markup.parser.IXmlPullParser#getInputFromPositionMarker(int) */ public final CharSequence getInputFromPositionMarker(final int toPos) { return input.getSubstring(toPos); }
endTagText = input.getSubstring(lastPos, lastPos + tagNameLen).toString(); lastText = input.getSubstring(startIndex, pos); lastType = HttpTagType.BODY;
endTagText = input.getSubstring(lastPos, lastPos + tagNameLen).toString(); lastText = input.getSubstring(startIndex, pos); lastType = HttpTagType.BODY;
CharSequence tagCode = getSubstring(startPos, closeBracketIndex + 1);
lastText = input.getSubstring(openBracketIndex, pos); lastText = input.getSubstring(openBracketIndex, pos); lastType = HttpTagType.COMMENT; input.setPosition(pos); tagText = input.getSubstring(openBracketIndex + 1, closeBracketIndex) .toString(); doctype = input.getSubstring(openBracketIndex + 1, closeBracketIndex);
lastText = input.getSubstring(openBracketIndex, pos); lastType = COMMENT; tagText = input.getSubstring(openBracketIndex + 1, closeBracketIndex) .toString();
endTagText = input.getSubstring(lastPos, lastPos + tagNameLen).toString(); lastText = input.getSubstring(startIndex, pos); lastType = BODY;
lastText = input.getSubstring(openBracketIndex, pos); lastText = input.getSubstring(openBracketIndex, pos); lastType = HttpTagType.COMMENT; input.setPosition(pos); tagText = input.getSubstring(openBracketIndex + 1, closeBracketIndex) .toString(); doctype = input.getSubstring(openBracketIndex + 1, closeBracketIndex);
endTagText = input.getSubstring(lastPos, lastPos + tagNameLen).toString(); lastText = input.getSubstring(startIndex, pos); lastType = BODY;
lastText = input.getSubstring(openBracketIndex, pos); lastType = COMMENT; tagText = input.getSubstring(openBracketIndex + 1, closeBracketIndex) .toString();
lastText = input.getSubstring(-1); input.setPosition(input.size()); lastType = BODY; lastText = input.getSubstring(openBracketIndex); input.setPosition(openBracketIndex); lastType = BODY; lastText = input.getSubstring(openBracketIndex, closeBracketIndex + 1);
lastText = input.getSubstring(-1); input.setPosition(input.size()); lastType = HttpTagType.BODY; lastText = input.getSubstring(openBracketIndex); input.setPosition(openBracketIndex); lastType = HttpTagType.BODY; lastText = input.getSubstring(openBracketIndex, closeBracketIndex + 1);
lastText = input.getSubstring(-1); input.setPosition(input.size()); lastType = HttpTagType.BODY; lastText = input.getSubstring(openBracketIndex); input.setPosition(openBracketIndex); lastType = HttpTagType.BODY; lastText = input.getSubstring(openBracketIndex, closeBracketIndex + 1);