silentnode.java

来自「基于Junit的 功能和单元测试的的测试工具。只支持Swing.」· Java 代码 · 共 21 行

JAVA
21
字号
package org.uispec4j.xml;

import org.xml.sax.Attributes;

public class SilentNode implements Node {
  public static final SilentNode INSTANCE = new SilentNode();

  private SilentNode() {
  }

  public Node getSubNode(String childName, Attributes xmlAttrs) throws RuntimeException {
    return this;
  }

  public void setValue(String value) {
  }

  public void complete() {
  }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?