标签: java xml
我导入了javax.xml.parsers.DocumentBuilder,javax.xml.parsers.DocumentBuilderFactory进行XML操作。在为文档builderfactory创建引用时,未显示newinstance()。有人帮我解决了吗?
javax.xml.parsers.DocumentBuilder
javax.xml.parsers.DocumentBuilderFactory
newinstance()
语法:
DocumentBuilderFactory factory = DocumentBuilderFactory .newInstance();