/** * @see org.htmlparser.Node#getPage() */ public Page getPage() { return m_decorated.getPage(); }
/** * @see org.htmlparser.Node#getPage() */ public Page getPage() { return m_decorated.getPage(); }
/** * @see org.htmlparser.Node#getPage() */ public Page getPage() { return m_decorated.getPage(); }
private boolean fakeTag(final Tag tag) { int endPosition = tag.getEndPosition(); return !">".equals(tag.getPage().getText(endPosition - 1, endPosition)); }
private void handleFakeTag(final Tag tag) { if (visitMode != VisitMode.NONE) { currentSB.append(tag.getPage().getText(tag.getStartPosition(), tag.getEndPosition())); } }
/** * Constructor. * * @param tag * The tag that we want to store information about. */ public TagInfo(final Tag tag) { Page page = tag.getPage(); startPosition = tag.getStartPosition(); int endPosition = tag.getEndPosition(); chars = new char[endPosition - startPosition]; page.getText(chars, 0, startPosition, endPosition); } }
/** * Constructor. * * @param tag * The tag that this node definition belongs to. * @param templateFileName * the name of the template file. */ public TagNode(final Tag tag, final String templateFileName) { emptyTag = tag.isEmptyXmlTag(); Page page = tag.getPage(); startPositionInTemplate = tag.getStartPosition(); int endPosition = tag.getEndPosition(); int length = endPosition - startPositionInTemplate; textRepresentation = new char[length]; page.getText(textRepresentation, 0, startPositionInTemplate, endPosition); this.templateFileName = templateFileName; }
Page page = tag.getPage();
final String message, final Tag tag, final PageAttribute attribute, final boolean positionOfAttributeValue, final Coordinate startPosition) { Page page = tag.getPage(); int tagStartPosition = tag.getStartPosition(); int tagEndPosition = tag.getEndPosition();