gpt4 book ai didi

org.apache.wicket.markup.parser.XmlPullParser.getInput()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-19 14:50:40 24 4
gpt4 key购买 nike

本文整理了Java中org.apache.wicket.markup.parser.XmlPullParser.getInput()方法的一些代码示例,展示了XmlPullParser.getInput()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XmlPullParser.getInput()方法的具体详情如下:
包路径:org.apache.wicket.markup.parser.XmlPullParser
类名称:XmlPullParser
方法名:getInput

XmlPullParser.getInput介绍

暂无

代码示例

代码示例来源:origin: org.apache.wicket/wicket-core

/**
 * Gets the markup for this tag. This includes all markup between the open tag and the close
 * tag.
 * 
 * @return all the markup between the open tag and the close tag
 */
public String getMarkup()
{
  int openPos = openTag.getPos();
  int closePos = closeTag.getPos() + closeTag.getLength();
  return parser.getInput(openPos, closePos).toString();
}

代码示例来源:origin: apache/wicket

/**
 * Gets the markup for this tag. This includes all markup between the open tag and the close
 * tag.
 * 
 * @return all the markup between the open tag and the close tag
 */
public String getMarkup()
{
  int openPos = openTag.getPos();
  int closePos = closeTag.getPos() + closeTag.getLength();
  return parser.getInput(openPos, closePos).toString();
}

代码示例来源:origin: org.apache.wicket/com.springsource.org.apache.wicket

/**
 * Gets the markup for this tag. This includes all markup between the open tag and the close
 * tag.
 * 
 * @return all the markup between the open tag and the close tag
 */
public String getMarkup()
{
  int openPos = openTag.getPos();
  int closePos = closeTag.getPos() + closeTag.getLength();
  String value = parser.getInput(openPos, closePos).toString();
  return value;
}

代码示例来源:origin: org.ops4j.pax.wicket/pax-wicket-service

/**
 * Gets the markup for this tag. This includes all markup between the open tag and the close
 * tag.
 * 
 * @return all the markup between the open tag and the close tag
 */
public String getMarkup()
{
  int openPos = openTag.getPos();
  int closePos = closeTag.getPos() + closeTag.getLength();
  String value = parser.getInput(openPos, closePos).toString();
  return value;
}

代码示例来源:origin: org.apache.wicket/com.springsource.org.apache.wicket

/**
 * Returns the value for this tag. This includes all data between the open tag and the close
 * tag.
 * 
 * @return all the data between the open tag and the close tag
 * @since 1.3
 */
public String getValue()
{
  int openPos = openTag.getPos() + openTag.getLength();
  int closePos = closeTag.getPos();
  String value = parser.getInput(openPos, closePos).toString();
  return value;
}

代码示例来源:origin: org.ops4j.pax.wicket/pax-wicket-service

/**
 * Returns the value for this tag. This includes all data between the open tag and the close
 * tag.
 * 
 * @return all the data between the open tag and the close tag
 * @since 1.3
 */
public String getValue()
{
  int openPos = openTag.getPos() + openTag.getLength();
  int closePos = closeTag.getPos();
  String value = parser.getInput(openPos, closePos).toString();
  return value;
}

代码示例来源:origin: org.apache.wicket/wicket-core

/**
 * Returns the value for this tag. This includes all data between the open tag and the close
 * tag.
 * 
 * @return all the data between the open tag and the close tag
 * @since 1.3
 */
public String getValue()
{
  if (openTag == closeTag)
  {
    return null;
  }
  int openPos = openTag.getPos() + openTag.getLength();
  int closePos = closeTag.getPos();
  return parser.getInput(openPos, closePos).toString();
}

代码示例来源:origin: apache/wicket

/**
 * Returns the value for this tag. This includes all data between the open tag and the close
 * tag.
 * 
 * @return all the data between the open tag and the close tag
 * @since 1.3
 */
public String getValue()
{
  if (openTag == closeTag)
  {
    return null;
  }
  int openPos = openTag.getPos() + openTag.getLength();
  int closePos = closeTag.getPos();
  return parser.getInput(openPos, closePos).toString();
}

代码示例来源:origin: org.wicketstuff/wicket-poi

String value = parser.getInput(
  firstMostNestedTag.getPos() + firstMostNestedTag.getLength(), tag.getPos())
  .toString();

代码示例来源:origin: apache/wicket

/**
 * Checks if the tag has a child with the given <code>tagName</code>.
 *
 * @param tagName
 *            the tag name to search for
 * @return <code>true</code> if this tag has a child with the given <code>tagName</code>.
 */
public TagTester getChild(String tagName)
{
  Args.notNull(tagName, "tagName");
  TagTester childTagTester = null;
  if (openTag.isOpen())
  {
    // Get the content of the tag
    int startPos = openTag.getPos() + openTag.getLength();
    int endPos = closeTag.getPos();
    String markup = parser.getInput(startPos, endPos).toString();
    childTagTester = createTagByName(markup, tagName);
  }
  return childTagTester;
}

代码示例来源:origin: org.apache.wicket/wicket-core

/**
 * Checks if the tag has a child with the given <code>tagName</code>.
 *
 * @param tagName
 *            the tag name to search for
 * @return <code>true</code> if this tag has a child with the given <code>tagName</code>.
 */
public TagTester getChild(String tagName)
{
  Args.notNull(tagName, "tagName");
  TagTester childTagTester = null;
  if (openTag.isOpen())
  {
    // Get the content of the tag
    int startPos = openTag.getPos() + openTag.getLength();
    int endPos = closeTag.getPos();
    String markup = parser.getInput(startPos, endPos).toString();
    childTagTester = createTagByAttribute(markup, tagName);
  }
  return childTagTester;
}

代码示例来源:origin: org.apache.wicket/com.springsource.org.apache.wicket

String markup = parser.getInput(startPos, endPos).toString();

代码示例来源:origin: org.ops4j.pax.wicket/pax-wicket-service

String markup = parser.getInput(startPos, endPos).toString();

代码示例来源:origin: org.apache.wicket/wicket-core

String markup = parser.getInput(startPos, endPos).toString();

代码示例来源:origin: apache/wicket

String markup = parser.getInput(startPos, endPos).toString();

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com