org.w3c.dom.Document.setNodeValue()方法的使用及代码示例

x33g5p2x  于2022-01-17 转载在 其他  
字(3.5k)|赞(0)|评价(0)|浏览(202)

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

Document.setNodeValue介绍

暂无

代码示例

代码示例来源:origin: apache/servicemix-bundles

@Override
public void setNodeValue(String nodeValue) throws DOMException {
  document.setNodeValue(nodeValue);
}

代码示例来源:origin: org.swinglabs/swingx-ws

/**
 * @inheritDoc
 */
public void setNodeValue(String nodeValue) throws DOMException {
  dom.setNodeValue(nodeValue);
}

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

@Override
public void setNodeValue(String nodeValue) throws DOMException {
  original_.setNodeValue(nodeValue);
}

代码示例来源:origin: org.apache.axis2/axis2-saaj

/**
 * The value of this node, depending on its type; see the table above. When it is defined to be
 * <code>null</code>, setting it has no effect.
 *
 * @throws DOMException NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.
 * @throws DOMException DOMSTRING_SIZE_ERR: Raised when it would return more characters than fit
 *                      in a <code>DOMString</code> variable on the implementation platform.
 */
public void setNodeValue(String arg0) throws DOMException {
  document.setNodeValue(arg0);
}

代码示例来源:origin: org.opensingular/singular-commons

@Override
public void setNodeValue(String nodeValue) throws DOMException {
  original_.setNodeValue(nodeValue);
}

代码示例来源:origin: apache/axis2-java

/**
 * The value of this node, depending on its type; see the table above. When it is defined to be
 * <code>null</code>, setting it has no effect.
 *
 * @throws DOMException NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.
 * @throws DOMException DOMSTRING_SIZE_ERR: Raised when it would return more characters than fit
 *                      in a <code>DOMString</code> variable on the implementation platform.
 */
public void setNodeValue(String arg0) throws DOMException {
  document.setNodeValue(arg0);
}

代码示例来源:origin: org.jboss.ws.native/jbossws-native-core

public void setNodeValue(String nodeValue) throws DOMException
{
 this.doc.setNodeValue(nodeValue);
}

代码示例来源:origin: axis/axis

public void setNodeValue(String nodeValue) throws DOMException{
  document.setNodeValue(nodeValue);
}

代码示例来源:origin: org.apache.axis/axis

public void setNodeValue(String nodeValue) throws DOMException{
  document.setNodeValue(nodeValue);
}

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

public void setNodeValue(String nodeValue) throws DOMException{
  document.setNodeValue(nodeValue);
}

代码示例来源:origin: fbacchella/jrds

/**
 * @param nodeValue
 * @throws org.w3c.dom.DOMException
 * @see org.w3c.dom.Node#setNodeValue(java.lang.String)
 */
public void setNodeValue(String nodeValue) {
  getParent().setNodeValue(nodeValue);
}

代码示例来源:origin: org.apache.ws.commons.axiom/dom-testsuite

/**
* Runs the test case.
* @throws Throwable Any uncaught exception causes test to fail
*/
public void runTest() throws Throwable {
 Document newNode;
 String newValue;
 newNode = (Document) load("staff", true);
 newValue = newNode.getNodeValue();
 assertNull("initiallyNull", newValue);
 newNode.setNodeValue("This should have no effect");
 newValue = newNode.getNodeValue();
 assertNull("nullAfterAttemptedChange", newValue);
 }
/**

代码示例来源:origin: org.apache.ws.commons.axiom/dom-testsuite

/**
* Runs the test case.
* @throws Throwable Any uncaught exception causes test to fail
*/
public void runTest() throws Throwable {
 Document newNode;
 String newValue;
 newNode = (Document) load("hc_staff", true);
 newValue = newNode.getNodeValue();
 assertNull("initiallyNull", newValue);
 newNode.setNodeValue("This should have no effect");
 newValue = newNode.getNodeValue();
 assertNull("nullAfterAttemptedChange", newValue);
 }
/**

相关文章

微信公众号

最新文章

更多

Document类方法