我只是想知道一个节点属性是否存在。
我在看 API 参考指南
没有什么突出的。
谢谢
hasProperty()
你可以查看
boolean has_prop = rootNode.hasProperty("jcr:created");