本文整理了Java中org.htmlparser.Tag.getPage()
方法的一些代码示例,展示了Tag.getPage()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Tag.getPage()
方法的具体详情如下:
包路径:org.htmlparser.Tag
类名称:Tag
方法名:getPage
暂无
代码示例来源:origin: org.opencms/opencms-core
/**
* @see org.htmlparser.Node#getPage()
*/
public Page getPage() {
return m_decorated.getPage();
}
代码示例来源:origin: org.opencms/opencms-solr
/**
* @see org.htmlparser.Node#getPage()
*/
public Page getPage() {
return m_decorated.getPage();
}
代码示例来源:origin: com.bbossgroups.pdp/pdp-cms
/**
* @see org.htmlparser.Node#getPage()
*/
public Page getPage() {
return m_decorated.getPage();
}
代码示例来源:origin: org.everit.templating/org.everit.templating.html
private boolean fakeTag(final Tag tag) {
int endPosition = tag.getEndPosition();
return !">".equals(tag.getPage().getText(endPosition - 1, endPosition));
}
代码示例来源:origin: org.everit.templating/org.everit.templating.html
private void handleFakeTag(final Tag tag) {
if (visitMode != VisitMode.NONE) {
currentSB.append(tag.getPage().getText(tag.getStartPosition(), tag.getEndPosition()));
}
}
代码示例来源:origin: org.everit.templating/org.everit.templating.html
/**
* 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);
}
}
代码示例来源:origin: org.everit.templating/org.everit.templating.html
/**
* 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;
}
代码示例来源:origin: org.everit.templating/org.everit.templating.html
Page page = tag.getPage();
代码示例来源:origin: org.everit.templating/org.everit.templating.html
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();
内容来源于网络,如有侵权,请联系作者删除!