Uses of Class
cloud.opencode.base.xml.XmlDocument
Packages that use XmlDocument
Package
Description
OpenCode Base XML Module - Comprehensive XML processing library
OpenCode Base XML 模块 - 全面的 XML 处理库
Bind Package - XML to Java object binding (JAXB-style)
绑定包 - XML 到 Java 对象绑定(JAXB 风格)
Builder Package - Fluent XML builders
构建器包 - 流式 XML 构建器
Namespace Package - XML namespace handling
命名空间包 - XML 命名空间处理
Transform Package - XSLT transformation and formatting
转换包 - XSLT 转换和格式化
Validate Package - XML validation (Schema/DTD)
验证包 - XML 验证(Schema/DTD)
-
Uses of XmlDocument in cloud.opencode.base.xml
Methods in cloud.opencode.base.xml that return XmlDocumentModifier and TypeMethodDescriptionXmlDocument.addElement(XmlElement element) Adds an existing element to the root.static XmlDocumentCreates an empty document with the specified root element.static XmlDocumentXmlDocument.load(InputStream input) Loads XML from input stream.static XmlDocumentLoads XML from file.static XmlDocumentXmlDocument.loadResource(String resourceName) Loads XML from classpath resource.static XmlDocumentWraps an existing DOM Document.static XmlDocumentOpenXml.parse(InputStream input) Parses an XML input stream to XmlDocument.static XmlDocumentParses an XML string to XmlDocument.static XmlDocumentParses XML string to document.static XmlDocumentParses an XML file to XmlDocument.XmlDocument.removeElement(String name) Removes elements with the specified name from the root.Methods in cloud.opencode.base.xml with parameters of type XmlDocumentModifier and TypeMethodDescriptionOpenXml.extractNamespaces(XmlDocument document) Extracts namespaces from a document.static OpenNamespaceContextOpenXml.namespaceContext(XmlDocument document) Creates a namespace context from a document.static <T> TOpenXml.unmarshal(XmlDocument document, Class<T> clazz) Unmarshals XmlDocument to an object.static StringOpenXml.xpath(XmlDocument doc, String xpath) Evaluates an XPath expression and returns a string.static StringEvaluates an XPath expression with namespaces.static List<XmlElement> OpenXml.xpathElements(XmlDocument doc, String xpath) Evaluates an XPath expression and returns elements. -
Uses of XmlDocument in cloud.opencode.base.xml.bind
Methods in cloud.opencode.base.xml.bind that return XmlDocumentModifier and TypeMethodDescriptionXmlBinder.marshalToDocument(Object obj) Marshals object to XML document.Methods in cloud.opencode.base.xml.bind with parameters of type XmlDocumentModifier and TypeMethodDescription<T> TXmlBinder.unmarshal(XmlDocument document, Class<T> clazz) Unmarshals XML document to object. -
Uses of XmlDocument in cloud.opencode.base.xml.builder
Methods in cloud.opencode.base.xml.builder that return XmlDocument -
Uses of XmlDocument in cloud.opencode.base.xml.namespace
Methods in cloud.opencode.base.xml.namespace with parameters of type XmlDocumentModifier and TypeMethodDescriptionstatic OpenNamespaceContextNamespaceUtil.createContext(XmlDocument document) Creates a namespace context from a document.NamespaceUtil.extractNamespaces(XmlDocument document) Extracts all namespace declarations from a document. -
Uses of XmlDocument in cloud.opencode.base.xml.transform
Methods in cloud.opencode.base.xml.transform that return XmlDocumentModifier and TypeMethodDescriptionstatic XmlDocumentXmlTransformer.clone(XmlDocument document) Clones an XmlDocument.XsltTransformer.transformToDocument(XmlDocument document) Transforms an XmlDocument to XmlDocument.XsltTransformer.transformToDocument(String xml) Transforms an XML string to XmlDocument.Methods in cloud.opencode.base.xml.transform with parameters of type XmlDocumentModifier and TypeMethodDescriptionstatic XmlDocumentXmlTransformer.clone(XmlDocument document) Clones an XmlDocument.static StringXmlTransformer.format(XmlDocument document, int indent) Formats an XmlDocument with indentation.static StringXmlTransformer.minify(XmlDocument document) Minifies an XmlDocument by removing whitespace.static StringXmlTransformer.serialize(XmlDocument document) Serializes an XmlDocument to a string.static StringXmlTransformer.serialize(XmlDocument document, int indent) Serializes an XmlDocument to a formatted string.static voidXmlTransformer.serialize(XmlDocument document, OutputStream output) Serializes an XmlDocument to an output stream.static voidXmlTransformer.serialize(XmlDocument document, OutputStream output, int indent) Serializes an XmlDocument to an output stream with formatting.static voidXmlTransformer.serialize(XmlDocument document, Path path) Serializes an XmlDocument to a file.static voidXmlTransformer.serialize(XmlDocument document, Path path, int indent) Serializes an XmlDocument to a file with formatting.static voidXmlTransformer.serialize(XmlDocument document, Path path, int indent, String encoding) Serializes an XmlDocument to a file with options.XsltTransformer.transform(XmlDocument document) Transforms an XmlDocument.XsltTransformer.transformToDocument(XmlDocument document) Transforms an XmlDocument to XmlDocument. -
Uses of XmlDocument in cloud.opencode.base.xml.validate
Methods in cloud.opencode.base.xml.validate with parameters of type XmlDocumentModifier and TypeMethodDescriptionbooleanSchemaValidator.isValid(XmlDocument document) Checks if an XmlDocument is valid.SchemaValidator.validate(XmlDocument document) Validates an XmlDocument.voidSchemaValidator.validateOrThrow(XmlDocument document) Validates and throws if invalid.static ValidationResultXmlValidator.validateSchema(XmlDocument document, Path schemaPath) Validates XmlDocument against an XSD schema.