Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/374.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 加工百里香素_Java - Fatal编程技术网

Java 加工百里香素

Java 加工百里香素,java,Java,如何检查对象org.thymeleaf.dom.Element是html标记还是其他标记 我找不到关于org.thymeleaf.dom.Element的API的信息。private boolean ifContains(Element-Element){ private boolean ifContains(Element element) { return element.contains("<img>"); } 返回元素。包含(“”); } 我需要如上所述的功能性。

如何检查对象org.thymeleaf.dom.Element是html标记还是其他标记

我找不到关于org.thymeleaf.dom.Element的API的信息。

private boolean ifContains(Element-Element){
private boolean ifContains(Element element) {
    return element.contains("<img>");
}
返回元素。包含(“”); }

我需要如上所述的功能性。

请提供一些关于您尝试过的内容和实际需要的内容的见解。给我们看一些代码。到目前为止你有什么?我在下面写了我需要的。