org.htmlparser.Tag.setAttributesEx()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(2.3k)|赞(0)|评价(0)|浏览(171)

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

Tag.setAttributesEx介绍

[英]Sets the attributes. NOTE: Values of the extended HashMap are two element arrays of String, with the first element being the original name (not uppercased), and the second element being the value.
[中]设置属性。注意:扩展HashMap的值是字符串的两个元素数组,第一个元素是原始名称(不大写),第二个元素是值。

代码示例

代码示例来源:origin: com.bbossgroups.pdp/pdp-cms

/**
 * @see org.htmlparser.Tag#setAttributesEx(java.util.Vector)
 */
public void setAttributesEx(List arg0) {
  m_decorated.setAttributesEx(arg0);
}

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

/**
 * @see org.htmlparser.Tag#setAttributesEx(java.util.Vector)
 */
@SuppressWarnings("rawtypes")
public void setAttributesEx(Vector arg0) {
  m_decorated.setAttributesEx(arg0);
}

代码示例来源:origin: org.opencms/opencms-solr

/**
 * @see org.htmlparser.Tag#setAttributesEx(java.util.Vector)
 */
public void setAttributesEx(Vector arg0) {
  m_decorated.setAttributesEx(arg0);
}

代码示例来源:origin: com.github.tcnh/fitnesse

private static Node cloneOnlyNode(Node node, Node clonedParent) {
 Node newNode;
 try {
  newNode = (Node) node.clone();
 } catch (CloneNotSupportedException e) {
  throw new IllegalStateException("Node must be cloneable", e);
 }
 node.setParent(clonedParent);
 if (newNode instanceof Tag) {
  Tag newTag = (Tag) newNode;
  newTag.setAttributesEx(cloneAttributes(((Tag) node).getAttributesEx()));
 }
 return newNode;
}

代码示例来源:origin: org.fitnesse/fitnesse

private static Node cloneOnlyNode(Node node, Node clonedParent) {
 Node newNode;
 try {
  newNode = (Node) node.clone();
 } catch (CloneNotSupportedException e) {
  throw new IllegalStateException("Node must be cloneable", e);
 }
 node.setParent(clonedParent);
 if (newNode instanceof Tag) {
  Tag newTag = (Tag) newNode;
  newTag.setAttributesEx(cloneAttributes(((Tag) node).getAttributesEx()));
 }
 return newNode;
}

代码示例来源:origin: com.bbossgroups/bboss-htmlparser

ret.setStartPosition (start);
      ret.setEndPosition (end);
      ret.setAttributesEx (attributes);
ret.setStartPosition (start);
ret.setEndPosition (end);
ret.setAttributesEx (attributes);

代码示例来源:origin: org.htmlparser/htmlparser

ret.setStartPosition (start);
      ret.setEndPosition (end);
      ret.setAttributesEx (attributes);
ret.setStartPosition (start);
ret.setEndPosition (end);
ret.setAttributesEx (attributes);

相关文章