Uses of Class
cloud.opencode.base.xml.dom.DomBuilder
Packages that use DomBuilder
Package
Description
DOM Package - Document Object Model parsing and manipulation
DOM 包 - 文档对象模型解析和操作
-
Uses of DomBuilder in cloud.opencode.base.xml.dom
Methods in cloud.opencode.base.xml.dom that return DomBuilderModifier and TypeMethodDescriptionDomBuilder.addElement(String name, String text) Adds a child element with text content to the current element.DomBuilder.addElement(String name, String text, String attrName, String attrValue) Adds a child element with text content and attribute.Adds an attribute to the current element.Adds a CDATA section to the current element.Adds a comment to the current element.static DomBuilderCreates a new DOM builder with the specified root element name.static DomBuilderCreates a new DOM builder with namespace.DomBuilder.endElement()Ends the current element and returns to its parent.DomBuilder.importNode(Node node, boolean deep) Imports and appends a node from another document.DomBuilder.processingInstruction(String target, String data) Adds a processing instruction to the document.DomBuilder.returnToRoot()Returns to the root element.DomBuilder.startElement(String name) Starts a new child element and makes it the current element.DomBuilder.startElement(String name, String namespaceUri) Starts a new child element with namespace.Sets the text content of the current element.