Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addChild(XmlElement) - Method in class cloud.opencode.base.xml.XmlElement
-
Adds an existing element as a child.
- addChild(String) - Method in class cloud.opencode.base.xml.XmlElement
-
Adds a new child element.
- addChild(String, String) - Method in class cloud.opencode.base.xml.XmlElement
-
Adds a new child element with text content.
- addChildElement(Element, String, String) - Static method in class cloud.opencode.base.xml.dom.DomUtil
-
Adds a child element with text content.
- ADDED - Enum constant in enum class cloud.opencode.base.xml.diff.DiffType
-
Element added in the second document.
- addElement(XmlElement) - Method in class cloud.opencode.base.xml.XmlDocument
-
Adds an existing element to the root.
- addElement(String, String) - Method in class cloud.opencode.base.xml.dom.DomBuilder
-
Adds a child element with text content to the current element.
- addElement(String, String) - Method in class cloud.opencode.base.xml.XmlDocument
-
Adds an element to the root.
- addElement(String, String, String, String) - Method in class cloud.opencode.base.xml.dom.DomBuilder
-
Adds a child element with text content and attribute.
- addError(ValidationResult.ValidationError) - Method in class cloud.opencode.base.xml.validate.ValidationResult
-
Adds an error.
- addError(String, int, int) - Method in class cloud.opencode.base.xml.validate.ValidationResult
-
Adds an error with message and location.
- addWarning(ValidationResult.ValidationError) - Method in class cloud.opencode.base.xml.validate.ValidationResult
-
Adds a warning.
- addWarning(String, int, int) - Method in class cloud.opencode.base.xml.validate.ValidationResult
-
Adds a warning with message and location.
- allowExternalEntities(boolean) - Method in class cloud.opencode.base.xml.validate.DtdValidator
-
Allows external entity resolution (security risk).
- APPEND - Enum constant in enum class cloud.opencode.base.xml.merge.MergeStrategy
-
Overlay elements are appended to the base document.
- asBoolean() - Method in record class cloud.opencode.base.xml.xpath.XPathResult
-
Returns the result as a boolean.
- asDouble() - Method in record class cloud.opencode.base.xml.xpath.XPathResult
-
Returns the result as a double.
- asElement() - Method in record class cloud.opencode.base.xml.xpath.XPathResult
-
Returns the first element if available.
- asElements() - Method in record class cloud.opencode.base.xml.xpath.XPathResult
-
Returns all elements.
- asInt() - Method in record class cloud.opencode.base.xml.xpath.XPathResult
-
Returns the result as an integer.
- asLong() - Method in record class cloud.opencode.base.xml.xpath.XPathResult
-
Returns the result as a long.
- asOptionalInt() - Method in record class cloud.opencode.base.xml.xpath.XPathResult
-
Returns the result as an optional integer.
- asOptionalString() - Method in record class cloud.opencode.base.xml.xpath.XPathResult
-
Returns the result as an optional string.
- asString() - Method in record class cloud.opencode.base.xml.xpath.XPathResult
-
Returns the result as a string.
- attribute(String, boolean) - Method in class cloud.opencode.base.xml.builder.ElementBuilder
-
Adds an attribute with boolean value.
- attribute(String, boolean) - Method in class cloud.opencode.base.xml.builder.XmlBuilder
-
Adds an attribute with boolean value.
- attribute(String, boolean) - Method in class cloud.opencode.base.xml.stax.StaxWriter
-
Writes an attribute with boolean value.
- attribute(String, Number) - Method in class cloud.opencode.base.xml.builder.ElementBuilder
-
Adds an attribute with number value.
- attribute(String, Number) - Method in class cloud.opencode.base.xml.builder.XmlBuilder
-
Adds an attribute with number value.
- attribute(String, Number) - Method in class cloud.opencode.base.xml.stax.StaxWriter
-
Writes an attribute with number value.
- attribute(String, String) - Method in class cloud.opencode.base.xml.builder.ElementBuilder
-
Adds an attribute to the element.
- attribute(String, String) - Method in class cloud.opencode.base.xml.builder.XmlBuilder
-
Adds an attribute to the current element.
- attribute(String, String) - Method in class cloud.opencode.base.xml.dom.DomBuilder
-
Adds an attribute to the current element.
- attribute(String, String) - Method in class cloud.opencode.base.xml.stax.StaxWriter
-
Writes an attribute.
- attribute(String, String, String) - Method in class cloud.opencode.base.xml.builder.ElementBuilder
-
Adds an attribute with namespace.
- attribute(String, String, String) - Method in class cloud.opencode.base.xml.builder.XmlBuilder
-
Adds an attribute with namespace to the current element.
- attribute(String, String, String) - Method in class cloud.opencode.base.xml.stax.StaxWriter
-
Writes an attribute with namespace.
- attribute(String, String, String, String) - Method in class cloud.opencode.base.xml.stax.StaxWriter
-
Writes an attribute with prefix and namespace.
- ATTRIBUTE - Enum constant in enum class cloud.opencode.base.xml.XmlNode.NodeType
-
Attribute node
- ATTRIBUTE_ADDED - Enum constant in enum class cloud.opencode.base.xml.diff.DiffType
-
Attribute added in the second document.
- ATTRIBUTE_MODIFIED - Enum constant in enum class cloud.opencode.base.xml.diff.DiffType
-
Attribute value modified between documents.
- ATTRIBUTE_REMOVED - Enum constant in enum class cloud.opencode.base.xml.diff.DiffType
-
Attribute removed from the first document.
- attributeIfNotNull(String, String) - Method in class cloud.opencode.base.xml.builder.ElementBuilder
-
Adds an attribute if value is not null.
- attributeIfNotNull(String, String) - Method in class cloud.opencode.base.xml.builder.XmlBuilder
-
Adds an attribute if value is not null.
- attributeIfNotNull(String, String) - Method in class cloud.opencode.base.xml.stax.StaxWriter
-
Writes an attribute if value is not null.
B
- bind(Class) - Method in class cloud.opencode.base.xml.XmlDocument
-
Binds this document to an object.
- bind(Class) - Method in class cloud.opencode.base.xml.XmlElement
-
Binds this element to an object.
- bind(String, String) - Method in class cloud.opencode.base.xml.namespace.OpenNamespaceContext
-
Binds a prefix to a namespace URI.
- binder() - Static method in class cloud.opencode.base.xml.OpenXml
-
Creates an XML binder.
- bindError(Class, Throwable) - Static method in exception class cloud.opencode.base.xml.exception.OpenXmlException
-
Creates a bind error exception.
- build() - Method in class cloud.opencode.base.xml.builder.ElementBuilder
-
Builds and returns the XmlElement.
- build() - Method in class cloud.opencode.base.xml.builder.XmlBuilder
-
Builds and returns the XML document.
- build() - Method in class cloud.opencode.base.xml.dom.DomBuilder
-
Builds and returns the Document.
- buildElement() - Method in class cloud.opencode.base.xml.builder.XmlBuilder
-
Builds and returns the root element.
- builder(String) - Static method in class cloud.opencode.base.xml.OpenXml
-
Creates an XML builder with the given root element name.
- builder(String, String) - Static method in class cloud.opencode.base.xml.OpenXml
-
Creates an XML builder with namespace.
C
- canonicalize(XmlDocument) - Static method in class cloud.opencode.base.xml.canonical.XmlCanonicalizer
-
Canonicalizes the given XmlDocument.
- canonicalize(XmlDocument, boolean) - Static method in class cloud.opencode.base.xml.canonical.XmlCanonicalizer
-
Canonicalizes the given XmlDocument with optional comment removal.
- canonicalize(String) - Static method in class cloud.opencode.base.xml.canonical.XmlCanonicalizer
-
Canonicalizes the given XML string.
- canonicalize(String) - Static method in class cloud.opencode.base.xml.OpenXml
-
Produces a canonical XML representation of the given XML string.
- canonicalize(String) - Static method in class cloud.opencode.base.xml.transform.XmlTransformer
-
Converts an XML string to a canonical form.
- canonicalize(String, boolean) - Static method in class cloud.opencode.base.xml.canonical.XmlCanonicalizer
-
Canonicalizes the given XML string with optional comment removal.
- cdata() - Element in annotation interface cloud.opencode.base.xml.bind.annotation.XmlElement
-
Whether to use CDATA section.
- cdata(String) - Method in class cloud.opencode.base.xml.builder.ElementBuilder
-
Adds CDATA content.
- cdata(String) - Method in class cloud.opencode.base.xml.builder.XmlBuilder
-
Adds CDATA content to the current element.
- cdata(String) - Method in class cloud.opencode.base.xml.dom.DomBuilder
-
Adds a CDATA section to the current element.
- cdata(String) - Method in class cloud.opencode.base.xml.stax.StaxWriter
-
Writes CDATA content.
- CDATA - Enum constant in enum class cloud.opencode.base.xml.XmlNode.NodeType
-
CDATA section node
- characters(String) - Method in interface cloud.opencode.base.xml.sax.SaxHandler
-
Called for character content.
- characters(String) - Method in class cloud.opencode.base.xml.sax.SimpleSaxHandler
- child(XmlElement) - Method in class cloud.opencode.base.xml.builder.ElementBuilder
-
Adds a built XmlElement as a child.
- child(String, boolean) - Method in class cloud.opencode.base.xml.builder.ElementBuilder
-
Adds a child element with boolean content.
- child(String, Number) - Method in class cloud.opencode.base.xml.builder.ElementBuilder
-
Adds a child element with number content.
- child(String, String) - Method in class cloud.opencode.base.xml.builder.ElementBuilder
-
Adds a child element with text content.
- child(String, Consumer) - Method in class cloud.opencode.base.xml.builder.ElementBuilder
-
Configures a child element using a consumer.
- childIfNotNull(String, String) - Method in class cloud.opencode.base.xml.builder.ElementBuilder
-
Adds a child element if value is not null.
- cleanup() - Static method in class cloud.opencode.base.xml.security.SecureParserFactory
-
Removes all ThreadLocal instances to prevent memory leaks.
- clearParameters() - Method in class cloud.opencode.base.xml.transform.XsltTransformer
-
Clears all parameters.
- clone(XmlDocument) - Static method in class cloud.opencode.base.xml.transform.XmlTransformer
-
Clones an XmlDocument.
- clone(XmlElement) - Static method in class cloud.opencode.base.xml.transform.XmlTransformer
-
Clones an XmlElement.
- cloneInto(Node, Document) - Static method in class cloud.opencode.base.xml.dom.DomUtil
-
Deep clones a node into another document.
- close() - Method in class cloud.opencode.base.xml.stax.StaxReader
- close() - Method in class cloud.opencode.base.xml.stax.StaxWriter
- closeQuietly(XMLStreamReader) - Static method in class cloud.opencode.base.xml.stax.StaxUtil
-
Closes a reader quietly.
- closeQuietly(XMLStreamWriter) - Static method in class cloud.opencode.base.xml.stax.StaxUtil
-
Closes a writer quietly.
- cloud.opencode.base.xml - module cloud.opencode.base.xml
-
OpenCode Base XML Module OpenCode 基础 XML 模块
- cloud.opencode.base.xml - package cloud.opencode.base.xml
-
OpenCode Base XML Module - Comprehensive XML processing library OpenCode Base XML 模块 - 全面的 XML 处理库
- cloud.opencode.base.xml.bind - package cloud.opencode.base.xml.bind
-
Bind Package - XML to Java object binding (JAXB-style) 绑定包 - XML 到 Java 对象绑定(JAXB 风格)
- cloud.opencode.base.xml.bind.adapter - package cloud.opencode.base.xml.bind.adapter
-
Bind Adapters - Type adapters for XML binding 绑定适配器 - XML 绑定的类型适配器
- cloud.opencode.base.xml.bind.annotation - package cloud.opencode.base.xml.bind.annotation
-
Bind Annotations - XML binding annotations 绑定注解 - XML 绑定注解
- cloud.opencode.base.xml.builder - package cloud.opencode.base.xml.builder
-
Builder Package - Fluent XML builders 构建器包 - 流式 XML 构建器
- cloud.opencode.base.xml.canonical - package cloud.opencode.base.xml.canonical
-
Canonical Package - XML canonicalization (C14N) 规范化包 - XML 规范化 (C14N)
- cloud.opencode.base.xml.diff - package cloud.opencode.base.xml.diff
-
Diff Package - XML document comparison and differencing 比较包 - XML 文档比较和差异计算
- cloud.opencode.base.xml.dom - package cloud.opencode.base.xml.dom
-
DOM Package - Document Object Model parsing and manipulation DOM 包 - 文档对象模型解析和操作
- cloud.opencode.base.xml.exception - package cloud.opencode.base.xml.exception
-
XML Exception Classes - Exception hierarchy for XML operations XML 异常类 - XML 操作的异常层次结构
- cloud.opencode.base.xml.merge - package cloud.opencode.base.xml.merge
-
Merge Package - XML document merging and overlay 合并包 - XML 文档合并和覆盖
- cloud.opencode.base.xml.namespace - package cloud.opencode.base.xml.namespace
-
Namespace Package - XML namespace handling 命名空间包 - XML 命名空间处理
- cloud.opencode.base.xml.path - package cloud.opencode.base.xml.path
-
Path Package - Simple dot-notation path access for XML elements 路径包 - XML 元素的简单点表示法路径访问
- cloud.opencode.base.xml.sax - package cloud.opencode.base.xml.sax
-
SAX Package - Simple API for XML (Event-driven parsing) SAX 包 - XML 简单 API(事件驱动解析)
- cloud.opencode.base.xml.security - package cloud.opencode.base.xml.security
-
XML Security - Security configuration for XML parsers XML 安全 - XML 解析器的安全配置
- cloud.opencode.base.xml.splitter - package cloud.opencode.base.xml.splitter
-
Splitter Package - Stream-based XML splitting by element name 拆分包 - 按元素名称进行基于流的 XML 拆分
- cloud.opencode.base.xml.stax - package cloud.opencode.base.xml.stax
-
StAX Package - Streaming API for XML (Pull-mode parsing) StAX 包 - XML 流式 API(拉模式解析)
- cloud.opencode.base.xml.transform - package cloud.opencode.base.xml.transform
-
Transform Package - XSLT transformation and formatting 转换包 - XSLT 转换和格式化
- cloud.opencode.base.xml.validate - package cloud.opencode.base.xml.validate
-
Validate Package - XML validation (Schema/DTD) 验证包 - XML 验证(Schema/DTD)
- cloud.opencode.base.xml.xpath - package cloud.opencode.base.xml.xpath
-
XPath Package - XPath query support XPath 包 - XPath 查询支持
- collectElementNames(String) - Static method in class cloud.opencode.base.xml.stax.StaxUtil
-
Collects all element names from XML.
- column() - Method in record class cloud.opencode.base.xml.validate.ValidationResult.ValidationError
-
Returns the value of the
columnrecord component. - comment(String) - Method in class cloud.opencode.base.xml.builder.ElementBuilder
-
Adds a comment.
- comment(String) - Method in class cloud.opencode.base.xml.builder.XmlBuilder
-
Adds a comment to the current element.
- comment(String) - Method in class cloud.opencode.base.xml.dom.DomBuilder
-
Adds a comment to the current element.
- comment(String) - Method in class cloud.opencode.base.xml.stax.StaxWriter
-
Writes a comment.
- COMMENT - Enum constant in enum class cloud.opencode.base.xml.XmlNode.NodeType
-
Comment node
- configure(Consumer) - Method in class cloud.opencode.base.xml.builder.XmlBuilder
-
Configures the current element using a consumer.
- convertText(String, Class) - Static method in class cloud.opencode.base.xml.dom.DomUtil
-
Converts text to the specified type.
- copyElement(XMLStreamReader, XMLStreamWriter) - Static method in class cloud.opencode.base.xml.stax.StaxUtil
-
Copies an element and its content to a writer.
- count() - Method in record class cloud.opencode.base.xml.xpath.XPathResult
-
Returns the count of matched elements.
- count(InputStream, String) - Static method in class cloud.opencode.base.xml.splitter.XmlSplitter
-
Counts matching elements in an XML input stream using O(1) memory.
- count(String, String) - Static method in class cloud.opencode.base.xml.splitter.XmlSplitter
-
Counts matching elements in an XML string using O(1) memory.
- count(String, String) - Static method in class cloud.opencode.base.xml.xpath.OpenXPath
-
Counts nodes matching the XPath.
- countElements(String, String) - Static method in class cloud.opencode.base.xml.stax.StaxUtil
-
Counts elements with a specific name.
- create() - Static method in class cloud.opencode.base.xml.bind.XmlBinder
-
Creates a new XML binder.
- create() - Static method in class cloud.opencode.base.xml.namespace.OpenNamespaceContext
-
Creates a new namespace context.
- create() - Static method in class cloud.opencode.base.xml.sax.SaxParser
-
Creates a new SAX parser.
- create() - Static method in class cloud.opencode.base.xml.sax.SimpleSaxHandler
-
Creates a new simple SAX handler.
- create() - Static method in class cloud.opencode.base.xml.stax.StaxWriter
-
Creates a new writer that writes to a string.
- create() - Static method in class cloud.opencode.base.xml.validate.DtdValidator
-
Creates a new DTD validator.
- create() - Static method in class cloud.opencode.base.xml.xpath.XPathQuery
-
Creates a new XPath query.
- create(OutputStream) - Static method in class cloud.opencode.base.xml.stax.StaxWriter
-
Creates a new writer that writes to an output stream.
- create(String) - Static method in class cloud.opencode.base.xml.builder.ElementBuilder
-
Creates a new element builder with the given name.
- create(String) - Static method in class cloud.opencode.base.xml.builder.XmlBuilder
-
Creates a new XML builder with the given root element name.
- create(String) - Static method in class cloud.opencode.base.xml.dom.DomBuilder
-
Creates a new DOM builder with the specified root element name.
- create(String) - Static method in class cloud.opencode.base.xml.XmlDocument
-
Creates an empty document with the specified root element.
- create(String, String) - Static method in class cloud.opencode.base.xml.builder.ElementBuilder
-
Creates a new element builder with namespace.
- create(String, String) - Static method in class cloud.opencode.base.xml.builder.XmlBuilder
-
Creates a new XML builder with namespace.
- create(String, String) - Static method in class cloud.opencode.base.xml.dom.DomBuilder
-
Creates a new DOM builder with namespace.
- create(Path) - Static method in class cloud.opencode.base.xml.stax.StaxWriter
-
Creates a new writer that writes to a file.
- createContext(XmlDocument) - Static method in class cloud.opencode.base.xml.namespace.NamespaceUtil
-
Creates a namespace context from a document.
- createContext(XmlElement) - Static method in class cloud.opencode.base.xml.namespace.NamespaceUtil
-
Creates a namespace context from an element.
- createContextFromMap(Map) - Static method in class cloud.opencode.base.xml.namespace.NamespaceUtil
-
Creates a namespace context from a map.
- createDocument() - Static method in class cloud.opencode.base.xml.dom.DomParser
-
Creates a new empty Document.
- createDocument() - Static method in class cloud.opencode.base.xml.dom.DomUtil
-
Creates a new empty Document.
- createDocument(String) - Static method in class cloud.opencode.base.xml.dom.DomParser
-
Creates a new Document with a root element.
- createDocument(String) - Static method in class cloud.opencode.base.xml.dom.DomUtil
-
Creates a new Document with a root element.
- createDocumentBuilder() - Static method in class cloud.opencode.base.xml.security.SecureParserFactory
-
Creates a secure DocumentBuilder.
- createNamespaceAwareDocumentBuilder() - Static method in class cloud.opencode.base.xml.security.SecureParserFactory
-
Creates a namespace-aware secure DocumentBuilder.
- createNamespaceAwareSAXParser() - Static method in class cloud.opencode.base.xml.security.SecureParserFactory
-
Creates a namespace-aware secure SAXParser.
- createOutputFactory() - Static method in class cloud.opencode.base.xml.stax.StaxUtil
-
Creates an XMLOutputFactory.
- createQName(String, String) - Static method in class cloud.opencode.base.xml.namespace.NamespaceUtil
-
Creates a qualified name from prefix and local part.
- createReader(InputStream) - Static method in class cloud.opencode.base.xml.stax.StaxUtil
-
Creates a secure XMLStreamReader from an input stream.
- createReader(String) - Static method in class cloud.opencode.base.xml.stax.StaxUtil
-
Creates a secure XMLStreamReader from a string.
- createReader(Path) - Static method in class cloud.opencode.base.xml.stax.StaxUtil
-
Creates a secure XMLStreamReader from a file.
- createSAXParser() - Static method in class cloud.opencode.base.xml.security.SecureParserFactory
-
Creates a secure SAXParser.
- createSecure() - Static method in class cloud.opencode.base.xml.sax.SaxParser
-
Creates a secure SAX parser (XXE protection).
- createSecureDocumentBuilderFactory() - Static method in class cloud.opencode.base.xml.security.XmlSecurity
-
Creates a secure DocumentBuilderFactory.
- createSecureInputFactory() - Static method in class cloud.opencode.base.xml.stax.StaxUtil
-
Creates a secure XMLInputFactory.
- createSecureSAXParserFactory() - Static method in class cloud.opencode.base.xml.security.XmlSecurity
-
Creates a secure SAXParserFactory.
- createSecureSchemaFactory() - Static method in class cloud.opencode.base.xml.security.XmlSecurity
-
Creates a secure SchemaFactory for XSD validation.
- createSecureTransformerFactory() - Static method in class cloud.opencode.base.xml.security.XmlSecurity
-
Creates a secure TransformerFactory.
- createSecureXMLInputFactory() - Static method in class cloud.opencode.base.xml.security.XmlSecurity
-
Creates a secure XMLInputFactory.
- createTransformer() - Static method in class cloud.opencode.base.xml.security.SecureParserFactory
-
Creates a secure Transformer.
- createWriter(OutputStream) - Static method in class cloud.opencode.base.xml.stax.StaxUtil
-
Creates an XMLStreamWriter to an output stream.
- createWriter(StringWriter) - Static method in class cloud.opencode.base.xml.stax.StaxUtil
-
Creates an XMLStreamWriter to a StringWriter.
- createWriter(Path) - Static method in class cloud.opencode.base.xml.stax.StaxUtil
-
Creates an XMLStreamWriter to a file.
- createXMLInputFactory() - Static method in class cloud.opencode.base.xml.security.SecureParserFactory
-
Creates and returns a new secure XMLInputFactory.
- createXMLStreamReader(InputStream) - Static method in class cloud.opencode.base.xml.security.SecureParserFactory
-
Creates a secure XMLStreamReader from an InputStream.
- createXMLStreamReader(Reader) - Static method in class cloud.opencode.base.xml.security.SecureParserFactory
-
Creates a secure XMLStreamReader from a Reader.
D
- DateAdapter - Class in cloud.opencode.base.xml.bind.adapter
-
Date Adapter - Adapters for date/time types 日期适配器 - 日期/时间类型的适配器
- DateAdapter.DurationAdapter - Class in cloud.opencode.base.xml.bind.adapter
-
Adapter for Duration.
- DateAdapter.InstantAdapter - Class in cloud.opencode.base.xml.bind.adapter
-
Adapter for Instant.
- DateAdapter.LegacyDateAdapter - Class in cloud.opencode.base.xml.bind.adapter
-
Adapter for legacy Date.
- DateAdapter.LocalDateAdapter - Class in cloud.opencode.base.xml.bind.adapter
-
Adapter for LocalDate.
- DateAdapter.LocalDateTimeAdapter - Class in cloud.opencode.base.xml.bind.adapter
-
Adapter for LocalDateTime.
- DateAdapter.LocalTimeAdapter - Class in cloud.opencode.base.xml.bind.adapter
-
Adapter for LocalTime.
- DateAdapter.PeriodAdapter - Class in cloud.opencode.base.xml.bind.adapter
-
Adapter for Period.
- DateAdapter.ZonedDateTimeAdapter - Class in cloud.opencode.base.xml.bind.adapter
-
Adapter for ZonedDateTime.
- declareDefaultNamespace(XmlElement, String) - Static method in class cloud.opencode.base.xml.namespace.NamespaceUtil
-
Adds a default namespace declaration to an element.
- declareNamespace(XmlElement, String, String) - Static method in class cloud.opencode.base.xml.namespace.NamespaceUtil
-
Adds a namespace declaration to an element.
- DEFAULT_ENTITY_EXPANSION_LIMIT - Static variable in class cloud.opencode.base.xml.security.XmlSecurity
-
Default entity expansion limit.
- defaultNamespace(String) - Method in class cloud.opencode.base.xml.builder.ElementBuilder
-
Sets the default namespace.
- defaultNamespace(String) - Method in class cloud.opencode.base.xml.builder.XmlBuilder
-
Sets the default namespace on the current element.
- defaultNamespace(String) - Method in class cloud.opencode.base.xml.stax.StaxWriter
-
Writes a default namespace declaration.
- defaultValue() - Element in annotation interface cloud.opencode.base.xml.bind.annotation.XmlElement
-
The default value.
- diff(XmlDocument, XmlDocument) - Static method in class cloud.opencode.base.xml.diff.XmlDiff
-
Compares two XmlDocument objects and returns a list of differences.
- diff(XmlDocument, XmlDocument) - Static method in class cloud.opencode.base.xml.OpenXml
-
Computes the differences between two XML documents.
- diff(String, String) - Static method in class cloud.opencode.base.xml.diff.XmlDiff
-
Compares two XML strings and returns a list of differences.
- diff(String, String) - Static method in class cloud.opencode.base.xml.OpenXml
-
Computes the differences between two XML strings.
- DiffEntry - Record Class in cloud.opencode.base.xml.diff
-
Diff Entry - A single difference between two XML documents 差异条目 - 两个 XML 文档之间的单个差异
- DiffEntry(String, DiffType, String, String) - Constructor for record class cloud.opencode.base.xml.diff.DiffEntry
-
Compact constructor validates required fields.
- DiffType - Enum Class in cloud.opencode.base.xml.diff
-
Diff Type - Types of differences between XML documents 差异类型 - XML 文档之间的差异类型
- disableDtd(DocumentBuilderFactory) - Static method in class cloud.opencode.base.xml.security.XmlSecurity
-
Disables DTD processing on a DocumentBuilderFactory.
- disableExternalEntities(DocumentBuilderFactory) - Static method in class cloud.opencode.base.xml.security.XmlSecurity
-
Disables external entities on a DocumentBuilderFactory.
- document(Document) - Method in class cloud.opencode.base.xml.xpath.XPathQuery
-
Sets the Document to query.
- DOCUMENT - Enum constant in enum class cloud.opencode.base.xml.XmlNode.NodeType
-
Document node
- DomBuilder - Class in cloud.opencode.base.xml.dom
-
DOM Builder - Builder for creating DOM documents programmatically DOM 构建器 - 程序化创建 DOM 文档的构建器
- DomParser - Class in cloud.opencode.base.xml.dom
-
DOM Parser - Parses XML to DOM Document DOM 解析器 - 将 XML 解析为 DOM Document
- DomUtil - Class in cloud.opencode.base.xml.dom
-
DOM Utility Class - Utility methods for DOM manipulation DOM 工具类 - DOM 操作的工具方法
- DTD_PROHIBITED - Enum constant in enum class cloud.opencode.base.xml.exception.XmlSecurityException.SecurityViolationType
-
DTD processing is prohibited DTD 处理被禁止
- dtdValidator() - Static method in class cloud.opencode.base.xml.validate.XmlValidator
-
Creates a DtdValidator.
- DtdValidator - Class in cloud.opencode.base.xml.validate
-
DTD Validator - Document Type Definition validation DTD 验证器 - 文档类型定义验证
- DurationAdapter() - Constructor for class cloud.opencode.base.xml.bind.adapter.DateAdapter.DurationAdapter
E
- element(String) - Static method in class cloud.opencode.base.xml.OpenXml
-
Creates an element builder.
- element(String, boolean) - Method in class cloud.opencode.base.xml.builder.XmlBuilder
-
Adds a complete element with boolean content.
- element(String, boolean) - Method in class cloud.opencode.base.xml.stax.StaxWriter
-
Writes a complete element with boolean content.
- element(String, Number) - Method in class cloud.opencode.base.xml.builder.XmlBuilder
-
Adds a complete element with number content.
- element(String, Number) - Method in class cloud.opencode.base.xml.stax.StaxWriter
-
Writes a complete element with number content.
- element(String, String) - Method in class cloud.opencode.base.xml.builder.XmlBuilder
-
Adds a complete element with text content.
- element(String, String) - Method in class cloud.opencode.base.xml.stax.StaxWriter
-
Writes a complete element with text content.
- ELEMENT - Enum constant in enum class cloud.opencode.base.xml.XmlNode.NodeType
-
Element node
- ElementBuilder - Class in cloud.opencode.base.xml.builder
-
Element Builder - Fluent builder for XML elements 元素构建器 - XML 元素的流式构建器
- elementIfNotNull(String, String) - Method in class cloud.opencode.base.xml.builder.XmlBuilder
-
Adds a complete element if value is not null.
- elementIfNotNull(String, String) - Method in class cloud.opencode.base.xml.stax.StaxWriter
-
Writes a complete element with text content if not null.
- elements() - Method in record class cloud.opencode.base.xml.xpath.XPathResult
-
Returns the value of the
elementsrecord component. - elementToMap(Element) - Static method in class cloud.opencode.base.xml.dom.DomUtil
-
Converts an Element to a Map.
- elementToSimpleMap(Element) - Static method in class cloud.opencode.base.xml.dom.DomUtil
-
Converts a flat, single-level XML element to a
Map<String, String>. - elementToXml(XMLStreamReader) - Static method in class cloud.opencode.base.xml.stax.StaxUtil
-
Converts an element to XML string.
- emptyChild(String) - Method in class cloud.opencode.base.xml.builder.ElementBuilder
-
Adds an empty child element.
- emptyElement(String) - Method in class cloud.opencode.base.xml.builder.XmlBuilder
-
Adds an empty element.
- emptyElement(String) - Method in class cloud.opencode.base.xml.stax.StaxWriter
-
Writes an empty element.
- encoding(String) - Method in class cloud.opencode.base.xml.bind.XmlBinder
-
Sets the output encoding.
- encoding(String) - Method in class cloud.opencode.base.xml.builder.XmlBuilder
-
Sets the XML encoding.
- encoding(String) - Method in class cloud.opencode.base.xml.transform.XsltTransformer
-
Sets the output encoding.
- end() - Method in class cloud.opencode.base.xml.builder.XmlBuilder
-
Ends the current element and returns to the parent.
- endChild() - Method in class cloud.opencode.base.xml.builder.ElementBuilder
-
Ends building the current child and returns to the parent.
- endDocument() - Method in interface cloud.opencode.base.xml.sax.SaxHandler
-
Called when document parsing ends.
- endDocument() - Method in class cloud.opencode.base.xml.stax.StaxWriter
-
Ends the document.
- endElement() - Method in class cloud.opencode.base.xml.dom.DomBuilder
-
Ends the current element and returns to its parent.
- endElement() - Method in class cloud.opencode.base.xml.stax.StaxWriter
-
Ends the current element.
- endElement(String, String, String) - Method in interface cloud.opencode.base.xml.sax.SaxHandler
-
Called when an element ends.
- endElement(String, String, String) - Method in class cloud.opencode.base.xml.sax.SimpleSaxHandler
- ENTITY_EXPANSION_LIMIT - Enum constant in enum class cloud.opencode.base.xml.exception.XmlSecurityException.SecurityViolationType
-
Entity expansion limit exceeded (Billion Laughs attack) 实体扩展超限(十亿笑声攻击)
- equals(Object) - Method in record class cloud.opencode.base.xml.diff.DiffEntry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.xml.splitter.SplitResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.xml.validate.ValidationResult.ValidationError
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class cloud.opencode.base.xml.XmlElement
- equals(Object) - Method in record class cloud.opencode.base.xml.xpath.XPathResult
-
Indicates whether some other object is "equal to" this one.
- error(SaxParseException) - Method in interface cloud.opencode.base.xml.sax.SaxHandler
-
Called when a parsing error occurs.
- ERROR - Enum constant in enum class cloud.opencode.base.xml.validate.ValidationResult.ValidationError.Severity
- exists(XmlDocument, String) - Static method in class cloud.opencode.base.xml.path.XmlPath
-
Checks whether a path exists in the document.
- exists(String, String) - Static method in class cloud.opencode.base.xml.xpath.OpenXPath
-
Checks if a node matching the XPath exists.
- EXTERNAL_PARAMETER_ENTITY - Enum constant in enum class cloud.opencode.base.xml.exception.XmlSecurityException.SecurityViolationType
-
External parameter entity reference detected 检测到外部参数实体引用
- extractNamespaces(XmlDocument) - Static method in class cloud.opencode.base.xml.namespace.NamespaceUtil
-
Extracts all namespace declarations from a document.
- extractNamespaces(XmlDocument) - Static method in class cloud.opencode.base.xml.OpenXml
-
Extracts namespaces from a document.
- extractNamespaces(XmlElement) - Static method in class cloud.opencode.base.xml.namespace.NamespaceUtil
-
Extracts all namespace declarations from an element and its ancestors.
- extractNamespaces(Element) - Static method in class cloud.opencode.base.xml.namespace.NamespaceUtil
-
Extracts namespace declarations from a DOM element and its ancestors.
F
- FATAL - Enum constant in enum class cloud.opencode.base.xml.validate.ValidationResult.ValidationError.Severity
- flush() - Method in class cloud.opencode.base.xml.stax.StaxWriter
-
Flushes the writer.
- forEachEvent(String, Consumer) - Static method in class cloud.opencode.base.xml.stax.StaxUtil
-
Iterates over all events in XML.
- forEachStartElement(String, Consumer) - Static method in class cloud.opencode.base.xml.stax.StaxUtil
-
Iterates over start elements in XML.
- format(XmlDocument, int) - Static method in class cloud.opencode.base.xml.transform.XmlTransformer
-
Formats an XmlDocument with indentation.
- format(String) - Static method in class cloud.opencode.base.xml.OpenXml
-
Formats XML with default indentation (4 spaces).
- format(String) - Static method in class cloud.opencode.base.xml.transform.XmlTransformer
-
Formats an XML string with default indentation (4 spaces).
- format(String, int) - Static method in class cloud.opencode.base.xml.OpenXml
-
Formats XML with indentation.
- format(String, int) - Static method in class cloud.opencode.base.xml.transform.XmlTransformer
-
Formats an XML string with indentation.
- formatted(boolean) - Method in class cloud.opencode.base.xml.bind.XmlBinder
-
Sets formatted output.
- formatted(boolean) - Method in class cloud.opencode.base.xml.stax.StaxWriter
-
Enables formatted output with indentation.
- fragment() - Method in record class cloud.opencode.base.xml.splitter.SplitResult
-
Returns the value of the
fragmentrecord component.
G
- getAllIssues() - Method in class cloud.opencode.base.xml.validate.ValidationResult
-
Gets all issues (errors + warnings).
- getAttribute(XmlDocument, String) - Static method in class cloud.opencode.base.xml.path.XmlPath
-
Gets an attribute value using @-notation path.
- getAttribute(String) - Method in class cloud.opencode.base.xml.stax.StaxReader
-
Gets an attribute value.
- getAttribute(String) - Method in class cloud.opencode.base.xml.XmlElement
-
Returns the attribute value.
- getAttribute(String, Class) - Method in class cloud.opencode.base.xml.XmlElement
-
Returns the attribute value converted to the specified type.
- getAttribute(String, String) - Method in class cloud.opencode.base.xml.stax.StaxReader
-
Gets an attribute value with namespace.
- getAttribute(String, String) - Method in class cloud.opencode.base.xml.XmlElement
-
Returns the attribute value or default.
- getAttribute(XMLStreamReader, String) - Static method in class cloud.opencode.base.xml.stax.StaxUtil
-
Gets an optional attribute value.
- getAttributeOptional(String) - Method in class cloud.opencode.base.xml.stax.StaxReader
-
Gets an attribute value as Optional.
- getAttributes() - Method in class cloud.opencode.base.xml.stax.StaxReader
-
Gets all attributes as a map.
- getAttributes() - Method in class cloud.opencode.base.xml.XmlElement
-
Returns all attributes as a Map.
- getAttributes(XMLStreamReader) - Static method in class cloud.opencode.base.xml.stax.StaxUtil
-
Gets attributes from a reader as a map.
- getBindings() - Method in class cloud.opencode.base.xml.namespace.OpenNamespaceContext
-
Gets all bindings.
- getBoolean(XmlDocument, String, boolean) - Static method in class cloud.opencode.base.xml.path.XmlPath
-
Gets a boolean value at the specified path, or the default if not found.
- getBoundType() - Method in interface cloud.opencode.base.xml.bind.adapter.XmlAdapter
-
Returns the bound Java type.
- getChild(String) - Method in class cloud.opencode.base.xml.XmlElement
-
Returns the first child element with the specified name.
- getChildCount() - Method in class cloud.opencode.base.xml.XmlElement
-
Returns the number of child elements.
- getChildElements(Node) - Static method in class cloud.opencode.base.xml.dom.DomUtil
-
Gets all child elements of a node.
- getChildElements(Node, String) - Static method in class cloud.opencode.base.xml.dom.DomUtil
-
Gets child elements with the specified tag name.
- getChildren() - Method in class cloud.opencode.base.xml.XmlElement
-
Returns all child elements.
- getChildren(String) - Method in class cloud.opencode.base.xml.XmlElement
-
Returns all child elements with the specified name.
- getChildText(String) - Method in class cloud.opencode.base.xml.XmlElement
-
Returns the text content of a child element.
- getChildText(String, String) - Method in class cloud.opencode.base.xml.XmlElement
-
Returns the text content of a child element or default.
- getChildText(Node, String) - Static method in class cloud.opencode.base.xml.dom.DomUtil
-
Gets the text content of the first child element with the specified tag name.
- getColumn() - Method in exception class cloud.opencode.base.xml.exception.OpenXmlException
-
Returns the column number where the error occurred.
- getColumn() - Method in record class cloud.opencode.base.xml.validate.ValidationResult.ValidationError
-
Gets the column number.
- getCurrentElement() - Method in class cloud.opencode.base.xml.builder.XmlBuilder
-
Gets the current element being built.
- getDocument() - Method in class cloud.opencode.base.xml.builder.XmlBuilder
-
Gets the underlying DOM Document.
- getDocument() - Method in class cloud.opencode.base.xml.dom.DomBuilder
-
Gets the underlying Document (alias for build()).
- getDocument() - Method in class cloud.opencode.base.xml.XmlDocument
-
Returns the underlying DOM Document.
- getDocumentBuilderFactory() - Static method in class cloud.opencode.base.xml.security.SecureParserFactory
-
Returns the shared secure DocumentBuilderFactory.
- getElement() - Method in class cloud.opencode.base.xml.XmlElement
-
Returns the underlying DOM Element.
- getElement(XmlDocument, String) - Static method in class cloud.opencode.base.xml.path.XmlPath
-
Gets the element at the specified path.
- getElement(String) - Method in class cloud.opencode.base.xml.XmlDocument
-
Returns the first element with the specified name.
- getElements(XmlDocument, String) - Static method in class cloud.opencode.base.xml.path.XmlPath
-
Gets all matching elements at the specified path.
- getElements(String) - Method in class cloud.opencode.base.xml.XmlDocument
-
Returns all elements with the specified name.
- getElementText() - Method in class cloud.opencode.base.xml.stax.StaxReader
-
Gets the element text (must be on START_ELEMENT).
- getElementText(String) - Method in class cloud.opencode.base.xml.stax.StaxReader
-
Reads text content from a child element.
- getElementText(String) - Method in class cloud.opencode.base.xml.XmlDocument
-
Returns the text content of the first element with the specified name.
- getElementText(String, String) - Method in class cloud.opencode.base.xml.XmlDocument
-
Returns the text content of an element or default value.
- getElementTextSafe(XMLStreamReader) - Static method in class cloud.opencode.base.xml.stax.StaxUtil
-
Gets element text safely.
- getErrorCount() - Method in class cloud.opencode.base.xml.validate.ValidationResult
-
Gets the error count.
- getErrorMessages() - Method in class cloud.opencode.base.xml.validate.ValidationResult
-
Gets error messages as strings.
- getErrors() - Method in exception class cloud.opencode.base.xml.exception.XmlValidationException
-
Returns the list of validation errors.
- getErrors() - Method in class cloud.opencode.base.xml.validate.ValidationResult
-
Gets all errors.
- getErrorSummary() - Method in class cloud.opencode.base.xml.validate.ValidationResult
-
Gets a summary of all errors.
- getEventType() - Method in class cloud.opencode.base.xml.stax.StaxReader
-
Gets the current event type.
- getEventTypeName(int) - Static method in class cloud.opencode.base.xml.stax.StaxUtil
-
Gets the event type name.
- getFirstChildElement(Node, String) - Static method in class cloud.opencode.base.xml.dom.DomUtil
-
Gets the first child element with the specified tag name.
- getFirstErrorMessage() - Method in class cloud.opencode.base.xml.validate.ValidationResult
-
Gets the first error message, or null if no errors.
- getInt(XmlDocument, String, int) - Static method in class cloud.opencode.base.xml.path.XmlPath
-
Gets an integer value at the specified path, or the default if not found or not parseable.
- getLine() - Method in exception class cloud.opencode.base.xml.exception.OpenXmlException
-
Returns the line number where the error occurred.
- getLine() - Method in record class cloud.opencode.base.xml.validate.ValidationResult.ValidationError
-
Gets the line number.
- getLocalName() - Method in class cloud.opencode.base.xml.stax.StaxReader
-
Gets the local name of the current element.
- getLocalName() - Method in class cloud.opencode.base.xml.XmlElement
- getLocalName() - Method in interface cloud.opencode.base.xml.XmlNode
-
Returns the local name (without namespace prefix).
- getLocalPart(String) - Static method in class cloud.opencode.base.xml.namespace.NamespaceUtil
-
Gets the local part of a qualified name.
- getMessage() - Method in record class cloud.opencode.base.xml.validate.ValidationResult.ValidationError
-
Gets the message.
- getName() - Method in class cloud.opencode.base.xml.XmlElement
- getName() - Method in interface cloud.opencode.base.xml.XmlNode
-
Returns the node name.
- getNamespaceAwareDocumentBuilderFactory() - Static method in class cloud.opencode.base.xml.security.SecureParserFactory
-
Returns the shared namespace-aware secure DocumentBuilderFactory.
- getNamespaceAwareSAXParserFactory() - Static method in class cloud.opencode.base.xml.security.SecureParserFactory
-
Returns the shared namespace-aware secure SAXParserFactory.
- getNamespacePrefix(XmlElement) - Static method in class cloud.opencode.base.xml.namespace.NamespaceUtil
-
Gets the namespace prefix of an element.
- getNamespaceUri() - Method in class cloud.opencode.base.xml.XmlElement
- getNamespaceUri() - Method in interface cloud.opencode.base.xml.XmlNode
-
Returns the namespace URI.
- getNamespaceUri(XmlElement) - Static method in class cloud.opencode.base.xml.namespace.NamespaceUtil
-
Gets the namespace URI of an element.
- getNamespaceURI() - Method in class cloud.opencode.base.xml.stax.StaxReader
-
Gets the namespace URI of the current element.
- getNamespaceURI(String) - Method in class cloud.opencode.base.xml.namespace.OpenNamespaceContext
- getNode() - Method in class cloud.opencode.base.xml.XmlElement
- getNode() - Method in interface cloud.opencode.base.xml.XmlNode
-
Returns the underlying DOM Node.
- getOptional(XmlDocument, String) - Static method in class cloud.opencode.base.xml.path.XmlPath
-
Gets an optional text value at the specified path.
- getParent() - Method in class cloud.opencode.base.xml.XmlElement
-
Returns the parent element.
- getPrefix() - Method in class cloud.opencode.base.xml.stax.StaxReader
-
Gets the prefix of the current element.
- getPrefix() - Method in class cloud.opencode.base.xml.XmlElement
- getPrefix() - Method in interface cloud.opencode.base.xml.XmlNode
-
Returns the namespace prefix.
- getPrefix(String) - Static method in class cloud.opencode.base.xml.namespace.NamespaceUtil
-
Gets the prefix of a qualified name.
- getPrefix(String) - Method in class cloud.opencode.base.xml.namespace.OpenNamespaceContext
- getPrefixes() - Method in class cloud.opencode.base.xml.namespace.OpenNamespaceContext
-
Gets all bound prefixes.
- getPrefixes(String) - Method in class cloud.opencode.base.xml.namespace.OpenNamespaceContext
- getRoot() - Method in class cloud.opencode.base.xml.XmlDocument
-
Returns the root element.
- getRootElement() - Method in class cloud.opencode.base.xml.dom.DomBuilder
-
Gets the root element.
- getSAXParserFactory() - Static method in class cloud.opencode.base.xml.security.SecureParserFactory
-
Returns the shared secure SAXParserFactory.
- getSchema() - Method in class cloud.opencode.base.xml.validate.SchemaValidator
-
Gets the underlying Schema.
- getSeverity() - Method in record class cloud.opencode.base.xml.validate.ValidationResult.ValidationError
-
Gets the severity.
- getString(XmlDocument, String) - Static method in class cloud.opencode.base.xml.path.XmlPath
-
Gets the text value at the specified path.
- getString(XmlDocument, String, String) - Static method in class cloud.opencode.base.xml.path.XmlPath
-
Gets the text value at the specified path, or the default value if not found.
- getString(XmlElement, String) - Static method in class cloud.opencode.base.xml.path.XmlPath
-
Gets the text value at the specified path relative to an element.
- getStrings(XmlDocument, String) - Static method in class cloud.opencode.base.xml.path.XmlPath
-
Gets text values of all matching elements at the specified path.
- getTargetType() - Method in exception class cloud.opencode.base.xml.exception.XmlBindException
-
Returns the target type that failed to bind.
- getTemplates() - Method in class cloud.opencode.base.xml.transform.XsltTransformer
-
Gets the underlying Templates object.
- getText() - Method in class cloud.opencode.base.xml.stax.StaxReader
-
Gets the text content of the current element.
- getText() - Method in class cloud.opencode.base.xml.XmlElement
- getText() - Method in interface cloud.opencode.base.xml.XmlNode
-
Returns the text content.
- getText(String) - Method in class cloud.opencode.base.xml.XmlElement
-
Returns the text content or default value if null/empty.
- getTextAs(Class) - Method in class cloud.opencode.base.xml.XmlElement
-
Returns the text content converted to the specified type.
- getTextTrim() - Method in class cloud.opencode.base.xml.XmlElement
- getTextTrim() - Method in interface cloud.opencode.base.xml.XmlNode
-
Returns the text content trimmed.
- getTransformerFactory() - Static method in class cloud.opencode.base.xml.security.SecureParserFactory
-
Returns the shared secure TransformerFactory.
- getType() - Method in exception class cloud.opencode.base.xml.exception.XmlSecurityException
-
Returns the type of security violation.
- getUnderlyingReader() - Method in class cloud.opencode.base.xml.stax.StaxReader
-
Gets the underlying XMLStreamReader.
- getUnderlyingWriter() - Method in class cloud.opencode.base.xml.stax.StaxWriter
-
Gets the underlying XMLStreamWriter.
- getValueType() - Method in interface cloud.opencode.base.xml.bind.adapter.XmlAdapter
-
Returns the XML value type.
- getWarningCount() - Method in class cloud.opencode.base.xml.validate.ValidationResult
-
Gets the warning count.
- getWarnings() - Method in class cloud.opencode.base.xml.validate.ValidationResult
-
Gets all warnings.
- getXMLInputFactory() - Static method in class cloud.opencode.base.xml.security.SecureParserFactory
-
Returns the shared secure XMLInputFactory.
- getXPath() - Method in exception class cloud.opencode.base.xml.exception.XmlXPathException
-
Returns the XPath expression that caused the error.
H
- handler(SaxHandler) - Method in class cloud.opencode.base.xml.sax.SaxParser
-
Sets the handler.
- handler(SimpleSaxHandler) - Method in class cloud.opencode.base.xml.sax.SaxParser
-
Sets a simple handler.
- hasAttribute(String) - Method in class cloud.opencode.base.xml.XmlElement
-
Returns whether this element has the specified attribute.
- hasChild(String) - Method in class cloud.opencode.base.xml.XmlElement
-
Returns whether this element has a child with the specified name.
- hasElement(String) - Method in class cloud.opencode.base.xml.XmlDocument
-
Returns whether an element with the specified name exists.
- hasErrors() - Method in exception class cloud.opencode.base.xml.exception.XmlValidationException
-
Returns whether there are any errors.
- hasErrors() - Method in class cloud.opencode.base.xml.validate.ValidationResult
-
Checks if the validation has any errors.
- hashCode() - Method in record class cloud.opencode.base.xml.diff.DiffEntry
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.xml.splitter.SplitResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.xml.validate.ValidationResult.ValidationError
-
Returns a hash code value for this object.
- hashCode() - Method in class cloud.opencode.base.xml.XmlElement
- hashCode() - Method in record class cloud.opencode.base.xml.xpath.XPathResult
-
Returns a hash code value for this object.
- hasLocation() - Method in exception class cloud.opencode.base.xml.exception.OpenXmlException
-
Returns whether location information is available.
- hasNext() - Method in class cloud.opencode.base.xml.stax.StaxReader
-
Checks if there are more events.
- hasNoNamespace(XmlElement) - Static method in class cloud.opencode.base.xml.namespace.NamespaceUtil
-
Checks if an element has no namespace.
- hasParent() - Method in class cloud.opencode.base.xml.XmlElement
-
Returns whether this element has a parent element.
- hasText() - Method in class cloud.opencode.base.xml.XmlElement
- hasText() - Method in interface cloud.opencode.base.xml.XmlNode
-
Returns whether this node has any text content.
- hasWarnings() - Method in class cloud.opencode.base.xml.validate.ValidationResult
-
Checks if the validation has any warnings.
I
- importNode(Node, boolean) - Method in class cloud.opencode.base.xml.dom.DomBuilder
-
Imports and appends a node from another document.
- indent(boolean) - Method in class cloud.opencode.base.xml.transform.XsltTransformer
-
Sets whether to indent output.
- indent(int) - Method in class cloud.opencode.base.xml.bind.XmlBinder
-
Sets the indentation level.
- indent(int) - Method in class cloud.opencode.base.xml.stax.StaxWriter
-
Sets the indent size in spaces.
- indent(String) - Method in class cloud.opencode.base.xml.stax.StaxWriter
-
Sets the indent string.
- index() - Method in record class cloud.opencode.base.xml.splitter.SplitResult
-
Returns the value of the
indexrecord component. - InstantAdapter() - Constructor for class cloud.opencode.base.xml.bind.adapter.DateAdapter.InstantAdapter
- invalid(ValidationResult.ValidationError) - Static method in class cloud.opencode.base.xml.validate.ValidationResult
-
Creates an invalid result with a single error.
- invalid(String) - Static method in class cloud.opencode.base.xml.validate.ValidationResult
-
Creates an invalid result with a single error message.
- isBound(String) - Method in class cloud.opencode.base.xml.namespace.OpenNamespaceContext
-
Checks if a prefix is bound.
- isCharacters() - Method in class cloud.opencode.base.xml.stax.StaxReader
-
Checks if the current event is characters.
- isEmpty() - Method in record class cloud.opencode.base.xml.xpath.XPathResult
-
Returns whether the result is empty.
- isEndElement() - Method in class cloud.opencode.base.xml.stax.StaxReader
-
Checks if the current event is an end element.
- isEndElement(String) - Method in class cloud.opencode.base.xml.stax.StaxReader
-
Checks if the current event is an end element with the given name.
- isEqual(XmlDocument, XmlDocument) - Static method in class cloud.opencode.base.xml.diff.XmlDiff
-
Checks whether two XmlDocument objects are structurally equal.
- isEqual(String, String) - Static method in class cloud.opencode.base.xml.diff.XmlDiff
-
Checks whether two XML strings are structurally equal.
- isInNamespace(XmlElement, String) - Static method in class cloud.opencode.base.xml.namespace.NamespaceUtil
-
Checks if an element is in a specific namespace.
- isQualifiedName(String) - Static method in class cloud.opencode.base.xml.namespace.NamespaceUtil
-
Checks if a name is a qualified name (has a prefix).
- isStartElement() - Method in class cloud.opencode.base.xml.stax.StaxReader
-
Checks if the current event is a start element.
- isStartElement(String) - Method in class cloud.opencode.base.xml.stax.StaxReader
-
Checks if the current event is a start element with the given name.
- isValid() - Method in class cloud.opencode.base.xml.validate.ValidationResult
-
Checks if the validation passed with no errors.
- isValid(XmlDocument) - Method in class cloud.opencode.base.xml.validate.SchemaValidator
-
Checks if an XmlDocument is valid.
- isValid(String) - Method in class cloud.opencode.base.xml.validate.DtdValidator
-
Checks if an XML string is valid.
- isValid(String) - Method in class cloud.opencode.base.xml.validate.SchemaValidator
-
Checks if an XML string is valid.
- isValidAgainstSchema(String, Path) - Static method in class cloud.opencode.base.xml.validate.XmlValidator
-
Checks if XML is valid against a schema.
- isValidXml(String) - Static method in class cloud.opencode.base.xml.dom.DomParser
-
Validates whether the given string is well-formed XML.
- isWellFormed(String) - Static method in class cloud.opencode.base.xml.OpenXml
-
Checks if XML is well-formed.
- isWellFormed(String) - Static method in class cloud.opencode.base.xml.validate.XmlValidator
-
Checks if an XML string is well-formed.
- isWellFormed(Path) - Static method in class cloud.opencode.base.xml.validate.XmlValidator
-
Checks if an XML file is well-formed.
- isWhiteSpace() - Method in class cloud.opencode.base.xml.stax.StaxReader
-
Checks if the current event is whitespace.
- itemName() - Element in annotation interface cloud.opencode.base.xml.bind.annotation.XmlElementList
-
The item element name.
L
- LegacyDateAdapter() - Constructor for class cloud.opencode.base.xml.bind.adapter.DateAdapter.LegacyDateAdapter
- line() - Method in record class cloud.opencode.base.xml.validate.ValidationResult.ValidationError
-
Returns the value of the
linerecord component. - load(InputStream) - Static method in class cloud.opencode.base.xml.XmlDocument
-
Loads XML from input stream.
- load(Path) - Static method in class cloud.opencode.base.xml.XmlDocument
-
Loads XML from file.
- loadResource(String) - Static method in class cloud.opencode.base.xml.XmlDocument
-
Loads XML from classpath resource.
- LocalDateAdapter() - Constructor for class cloud.opencode.base.xml.bind.adapter.DateAdapter.LocalDateAdapter
- LocalDateAdapter(DateTimeFormatter) - Constructor for class cloud.opencode.base.xml.bind.adapter.DateAdapter.LocalDateAdapter
- LocalDateTimeAdapter() - Constructor for class cloud.opencode.base.xml.bind.adapter.DateAdapter.LocalDateTimeAdapter
- LocalDateTimeAdapter(DateTimeFormatter) - Constructor for class cloud.opencode.base.xml.bind.adapter.DateAdapter.LocalDateTimeAdapter
- LocalTimeAdapter() - Constructor for class cloud.opencode.base.xml.bind.adapter.DateAdapter.LocalTimeAdapter
- LocalTimeAdapter(DateTimeFormatter) - Constructor for class cloud.opencode.base.xml.bind.adapter.DateAdapter.LocalTimeAdapter
M
- marshal(B) - Method in interface cloud.opencode.base.xml.bind.adapter.XmlAdapter
-
Converts a Java object to XML value.
- marshal(Object) - Method in class cloud.opencode.base.xml.bind.XmlBinder
-
Marshals object to XML string.
- marshal(Object) - Static method in class cloud.opencode.base.xml.OpenXml
-
Marshals an object to XML string.
- marshal(Object, int) - Method in class cloud.opencode.base.xml.bind.XmlBinder
-
Marshals object to formatted XML string.
- marshal(Object, int) - Static method in class cloud.opencode.base.xml.OpenXml
-
Marshals an object to formatted XML string.
- marshal(Duration) - Method in class cloud.opencode.base.xml.bind.adapter.DateAdapter.DurationAdapter
- marshal(Instant) - Method in class cloud.opencode.base.xml.bind.adapter.DateAdapter.InstantAdapter
- marshal(LocalDate) - Method in class cloud.opencode.base.xml.bind.adapter.DateAdapter.LocalDateAdapter
- marshal(LocalDateTime) - Method in class cloud.opencode.base.xml.bind.adapter.DateAdapter.LocalDateTimeAdapter
- marshal(LocalTime) - Method in class cloud.opencode.base.xml.bind.adapter.DateAdapter.LocalTimeAdapter
- marshal(Period) - Method in class cloud.opencode.base.xml.bind.adapter.DateAdapter.PeriodAdapter
- marshal(ZonedDateTime) - Method in class cloud.opencode.base.xml.bind.adapter.DateAdapter.ZonedDateTimeAdapter
- marshal(Date) - Method in class cloud.opencode.base.xml.bind.adapter.DateAdapter.LegacyDateAdapter
- marshalToDocument(Object) - Method in class cloud.opencode.base.xml.bind.XmlBinder
-
Marshals object to XML document.
- merge(ValidationResult) - Method in class cloud.opencode.base.xml.validate.ValidationResult
-
Merges another result into this one.
- merge(XmlDocument, XmlDocument) - Static method in class cloud.opencode.base.xml.merge.XmlMerge
-
Merges an overlay document onto a base document using OVERRIDE strategy.
- merge(XmlDocument, XmlDocument) - Static method in class cloud.opencode.base.xml.OpenXml
-
Merges an overlay document onto a base document.
- merge(XmlDocument, XmlDocument, MergeStrategy) - Static method in class cloud.opencode.base.xml.merge.XmlMerge
-
Merges an overlay document onto a base document with the specified strategy.
- merge(String, String) - Static method in class cloud.opencode.base.xml.merge.XmlMerge
-
Merges two XML strings using OVERRIDE strategy and returns the merged XML string.
- merge(String, String) - Static method in class cloud.opencode.base.xml.OpenXml
-
Merges an overlay XML string onto a base XML string.
- merge(String, String, MergeStrategy) - Static method in class cloud.opencode.base.xml.merge.XmlMerge
-
Merges two XML strings using the specified strategy and returns the merged XML string.
- MergeStrategy - Enum Class in cloud.opencode.base.xml.merge
-
Merge Strategy - Strategies for merging XML documents 合并策略 - XML 文档的合并策略
- message() - Method in record class cloud.opencode.base.xml.validate.ValidationResult.ValidationError
-
Returns the value of the
messagerecord component. - method(String) - Method in class cloud.opencode.base.xml.transform.XsltTransformer
-
Sets the output method (xml, html, text).
- minify(XmlDocument) - Static method in class cloud.opencode.base.xml.transform.XmlTransformer
-
Minifies an XmlDocument by removing whitespace.
- minify(String) - Static method in class cloud.opencode.base.xml.OpenXml
-
Minifies XML by removing whitespace.
- minify(String) - Static method in class cloud.opencode.base.xml.transform.XmlTransformer
-
Minifies an XML string by removing whitespace.
- MODIFIED - Enum constant in enum class cloud.opencode.base.xml.diff.DiffType
-
Element modified between documents (structural change).
N
- namespace() - Element in annotation interface cloud.opencode.base.xml.bind.annotation.XmlElement
-
The namespace URI.
- namespace() - Element in annotation interface cloud.opencode.base.xml.bind.annotation.XmlRoot
-
The namespace URI.
- namespace(String, String) - Method in class cloud.opencode.base.xml.builder.ElementBuilder
-
Adds a namespace declaration.
- namespace(String, String) - Method in class cloud.opencode.base.xml.builder.XmlBuilder
-
Adds a namespace declaration to the current element.
- namespace(String, String) - Method in class cloud.opencode.base.xml.stax.StaxWriter
-
Writes a namespace declaration.
- namespace(String, String) - Method in class cloud.opencode.base.xml.xpath.XPathQuery
-
Adds a namespace binding.
- namespaceAware(boolean) - Method in class cloud.opencode.base.xml.sax.SaxParser
-
Enables namespace awareness.
- namespaceContext() - Static method in class cloud.opencode.base.xml.OpenXml
-
Creates a namespace context.
- namespaceContext(XmlDocument) - Static method in class cloud.opencode.base.xml.OpenXml
-
Creates a namespace context from a document.
- namespaces(Map) - Method in class cloud.opencode.base.xml.xpath.XPathQuery
-
Adds multiple namespace bindings.
- NamespaceUtil - Class in cloud.opencode.base.xml.namespace
-
Namespace Utility - Utilities for XML namespace operations 命名空间工具 - XML 命名空间操作的工具类
- newValue() - Method in record class cloud.opencode.base.xml.diff.DiffEntry
-
Returns the value of the
newValuerecord component. - next() - Method in class cloud.opencode.base.xml.stax.StaxReader
-
Moves to the next event.
- nextTag() - Method in class cloud.opencode.base.xml.stax.StaxReader
-
Moves to the next tag (start or end element).
O
- of(InputStream) - Static method in class cloud.opencode.base.xml.stax.StaxReader
-
Creates a reader from an input stream.
- of(InputStream) - Static method in class cloud.opencode.base.xml.transform.XsltTransformer
-
Creates a transformer from an XSLT input stream.
- of(InputStream) - Static method in class cloud.opencode.base.xml.validate.SchemaValidator
-
Creates a validator from a schema input stream.
- of(Object, String) - Static method in record class cloud.opencode.base.xml.xpath.XPathResult
-
Creates an XPath result from a single value.
- of(String) - Static method in class cloud.opencode.base.xml.stax.StaxReader
-
Creates a reader from an XML string.
- of(String) - Static method in class cloud.opencode.base.xml.transform.XsltTransformer
-
Creates a transformer from an XSLT string.
- of(String) - Static method in class cloud.opencode.base.xml.validate.SchemaValidator
-
Creates a validator from a schema string.
- of(String, String) - Static method in class cloud.opencode.base.xml.namespace.OpenNamespaceContext
-
Creates a namespace context with a single binding.
- of(Path) - Static method in class cloud.opencode.base.xml.stax.StaxReader
-
Creates a reader from a file path.
- of(Path) - Static method in class cloud.opencode.base.xml.transform.XsltTransformer
-
Creates a transformer from an XSLT file.
- of(Path) - Static method in class cloud.opencode.base.xml.validate.SchemaValidator
-
Creates a validator from a schema file.
- of(List, String) - Static method in record class cloud.opencode.base.xml.xpath.XPathResult
-
Creates an XPath result from elements.
- of(Map) - Static method in class cloud.opencode.base.xml.namespace.OpenNamespaceContext
-
Creates a namespace context from a map.
- of(Source...) - Static method in class cloud.opencode.base.xml.validate.SchemaValidator
-
Creates a validator from multiple schema sources.
- of(Document) - Static method in class cloud.opencode.base.xml.XmlDocument
-
Wraps an existing DOM Document.
- of(Element) - Static method in class cloud.opencode.base.xml.XmlElement
-
Creates an XmlElement from a DOM Element.
- of(Node) - Static method in class cloud.opencode.base.xml.XmlElement
-
Creates an XmlElement from a DOM Node (if it's an Element).
- ofSecure(String) - Static method in class cloud.opencode.base.xml.stax.StaxReader
-
Creates a secure reader from an XML string.
- oldValue() - Method in record class cloud.opencode.base.xml.diff.DiffEntry
-
Returns the value of the
oldValuerecord component. - omitXmlDeclaration(boolean) - Method in class cloud.opencode.base.xml.transform.XsltTransformer
-
Sets whether to omit XML declaration.
- onAnyEnd(Consumer) - Method in class cloud.opencode.base.xml.sax.SimpleSaxHandler
-
Registers a callback for any element end.
- onAnyStart(BiConsumer) - Method in class cloud.opencode.base.xml.sax.SimpleSaxHandler
-
Registers a callback for any element start.
- onElement(String, BiConsumer) - Method in class cloud.opencode.base.xml.stax.StaxReader
-
Registers a callback for element start.
- onEnd(String, Consumer) - Method in class cloud.opencode.base.xml.sax.SimpleSaxHandler
-
Registers a callback for element end.
- onEndElement(Consumer) - Method in class cloud.opencode.base.xml.stax.StaxReader
-
Registers a callback for any element end.
- onStart(String, BiConsumer) - Method in class cloud.opencode.base.xml.sax.SimpleSaxHandler
-
Registers a callback for element start.
- onText(String, Consumer) - Method in class cloud.opencode.base.xml.sax.SimpleSaxHandler
-
Registers a callback for element text content.
- onText(String, Consumer) - Method in class cloud.opencode.base.xml.stax.StaxReader
-
Registers a callback for element text.
- OpenNamespaceContext - Class in cloud.opencode.base.xml.namespace
-
Open Namespace Context - NamespaceContext implementation for XPath 开放命名空间上下文 - 用于 XPath 的 NamespaceContext 实现
- OpenXml - Class in cloud.opencode.base.xml
-
OpenXml - Unified facade for XML operations OpenXml - XML 操作的统一门面
- OpenXmlException - Exception Class in cloud.opencode.base.xml.exception
-
XML Exception Base Class - Base exception for all XML operations XML 异常基类 - 所有 XML 操作的基础异常
- OpenXmlException(String) - Constructor for exception class cloud.opencode.base.xml.exception.OpenXmlException
-
Constructs an exception with a message.
- OpenXmlException(String, int, int) - Constructor for exception class cloud.opencode.base.xml.exception.OpenXmlException
-
Constructs an exception with location information.
- OpenXmlException(String, int, int, Throwable) - Constructor for exception class cloud.opencode.base.xml.exception.OpenXmlException
-
Constructs an exception with location information and cause.
- OpenXmlException(String, Throwable) - Constructor for exception class cloud.opencode.base.xml.exception.OpenXmlException
-
Constructs an exception with a message and cause.
- OpenXmlException(Throwable) - Constructor for exception class cloud.opencode.base.xml.exception.OpenXmlException
-
Constructs an exception with a cause.
- OpenXPath - Class in cloud.opencode.base.xml.xpath
-
XPath Entry Class - Static facade for XPath operations XPath 入口类 - XPath 操作的静态门面
- outputProperty(String, String) - Method in class cloud.opencode.base.xml.transform.XsltTransformer
-
Sets an output property.
- OVERRIDE - Enum constant in enum class cloud.opencode.base.xml.merge.MergeStrategy
-
Overlay values replace base values for matching elements.
P
- parameter(String, Object) - Method in class cloud.opencode.base.xml.transform.XsltTransformer
-
Sets a transformation parameter.
- parameters(Map) - Method in class cloud.opencode.base.xml.transform.XsltTransformer
-
Sets multiple transformation parameters.
- parse(InputStream) - Static method in class cloud.opencode.base.xml.dom.DomParser
-
Parses XML from input stream to Document.
- parse(InputStream) - Static method in class cloud.opencode.base.xml.OpenXml
-
Parses an XML input stream to XmlDocument.
- parse(InputStream) - Method in class cloud.opencode.base.xml.sax.SaxParser
-
Parses from an input stream.
- parse(String) - Static method in class cloud.opencode.base.xml.dom.DomParser
-
Parses XML string to Document.
- parse(String) - Static method in class cloud.opencode.base.xml.OpenXml
-
Parses an XML string to XmlDocument.
- parse(String) - Method in class cloud.opencode.base.xml.sax.SaxParser
-
Parses an XML string.
- parse(String) - Static method in class cloud.opencode.base.xml.XmlDocument
-
Parses XML string to document.
- parse(Path) - Static method in class cloud.opencode.base.xml.dom.DomParser
-
Parses XML file to Document.
- parse(Path) - Method in class cloud.opencode.base.xml.sax.SaxParser
-
Parses from a file.
- parseAndFormat(String, int) - Static method in class cloud.opencode.base.xml.transform.XmlTransformer
-
Parses and formats an XML string.
- parseError(String, int, int) - Static method in exception class cloud.opencode.base.xml.exception.OpenXmlException
-
Creates a parse error exception.
- parseFile(Path) - Static method in class cloud.opencode.base.xml.OpenXml
-
Parses an XML file to XmlDocument.
- parseNamespaceAware(InputStream) - Static method in class cloud.opencode.base.xml.dom.DomParser
-
Parses XML from input stream with namespace awareness.
- parseNamespaceAware(String) - Static method in class cloud.opencode.base.xml.dom.DomParser
-
Parses XML string with namespace awareness.
- parseNamespaceAware(Path) - Static method in class cloud.opencode.base.xml.dom.DomParser
-
Parses XML file with namespace awareness.
- parseSimpleMap(String) - Static method in class cloud.opencode.base.xml.OpenXml
-
Parses a flat, single-level XML string into a sorted
Map<String, String>. - path() - Method in record class cloud.opencode.base.xml.diff.DiffEntry
-
Returns the value of the
pathrecord component. - path(XmlDocument, String) - Static method in class cloud.opencode.base.xml.OpenXml
-
Accesses an element value using dot-notation path.
- pathOptional(XmlDocument, String) - Static method in class cloud.opencode.base.xml.OpenXml
-
Accesses an element value using dot-notation path, returning Optional.
- PeriodAdapter() - Constructor for class cloud.opencode.base.xml.bind.adapter.DateAdapter.PeriodAdapter
- PROCESSING_INSTRUCTION - Enum constant in enum class cloud.opencode.base.xml.XmlNode.NodeType
-
Processing instruction node
- processingInstruction(String, String) - Method in class cloud.opencode.base.xml.builder.XmlBuilder
-
Adds a processing instruction.
- processingInstruction(String, String) - Method in class cloud.opencode.base.xml.dom.DomBuilder
-
Adds a processing instruction to the document.
- processingInstruction(String, String) - Method in interface cloud.opencode.base.xml.sax.SaxHandler
-
Called for processing instructions.
- processingInstruction(String, String) - Method in class cloud.opencode.base.xml.stax.StaxWriter
-
Writes a processing instruction.
R
- read() - Method in class cloud.opencode.base.xml.stax.StaxReader
-
Reads the entire document using registered callbacks.
- registerAdapter(XmlAdapter) - Method in class cloud.opencode.base.xml.bind.XmlBinder
-
Registers a type adapter.
- removeAllChildren(Node) - Static method in class cloud.opencode.base.xml.dom.DomUtil
-
Removes all child nodes from a node.
- removeAttribute(String) - Method in class cloud.opencode.base.xml.XmlElement
-
Removes an attribute.
- removeChild(String) - Method in class cloud.opencode.base.xml.XmlElement
-
Removes child elements with the specified name.
- removeChildren() - Method in class cloud.opencode.base.xml.XmlElement
-
Removes all child elements.
- REMOVED - Enum constant in enum class cloud.opencode.base.xml.diff.DiffType
-
Element removed from the first document.
- removeElement(String) - Method in class cloud.opencode.base.xml.XmlDocument
-
Removes elements with the specified name from the root.
- removeNamespaceDeclaration(XmlElement, String) - Static method in class cloud.opencode.base.xml.namespace.NamespaceUtil
-
Removes a namespace declaration from an element.
- require(String) - Method in class cloud.opencode.base.xml.stax.StaxReader
-
Requires the current element to be a start element with the given name.
- required() - Element in annotation interface cloud.opencode.base.xml.bind.annotation.XmlAttribute
-
Whether the attribute is required.
- required() - Element in annotation interface cloud.opencode.base.xml.bind.annotation.XmlElement
-
Whether the element is required.
- requireWellFormed(String) - Static method in class cloud.opencode.base.xml.validate.XmlValidator
-
Validates well-formedness and throws if invalid.
- requireWellFormed(Path) - Static method in class cloud.opencode.base.xml.validate.XmlValidator
-
Validates file well-formedness and throws if invalid.
- returnToRoot() - Method in class cloud.opencode.base.xml.dom.DomBuilder
-
Returns to the root element.
S
- save(Path) - Method in class cloud.opencode.base.xml.XmlDocument
-
Saves this document to file.
- SaxHandler - Interface in cloud.opencode.base.xml.sax
-
SAX Handler Interface - Handles SAX parsing events SAX 处理器接口 - 处理 SAX 解析事件
- SaxParseException - Exception Class in cloud.opencode.base.xml.sax
-
SAX Parse Exception - Exception thrown during SAX parsing SAX 解析异常 - SAX 解析期间抛出的异常
- SaxParseException(String, int, int) - Constructor for exception class cloud.opencode.base.xml.sax.SaxParseException
- SaxParseException(String, int, int, Throwable) - Constructor for exception class cloud.opencode.base.xml.sax.SaxParseException
- SaxParseException(SAXParseException) - Constructor for exception class cloud.opencode.base.xml.sax.SaxParseException
- saxParser() - Static method in class cloud.opencode.base.xml.OpenXml
-
Creates a SAX parser.
- SaxParser - Class in cloud.opencode.base.xml.sax
-
SAX Parser - Event-driven streaming XML parser SAX 解析器 - 事件驱动的流式 XML 解析器
- schema(Path) - Method in class cloud.opencode.base.xml.bind.XmlBinder
-
Sets schema validation.
- schemaValidator(String) - Static method in class cloud.opencode.base.xml.validate.XmlValidator
-
Creates a SchemaValidator from schema string.
- schemaValidator(Path) - Static method in class cloud.opencode.base.xml.OpenXml
-
Creates a schema validator.
- schemaValidator(Path) - Static method in class cloud.opencode.base.xml.validate.XmlValidator
-
Creates a SchemaValidator.
- SchemaValidator - Class in cloud.opencode.base.xml.validate
-
Schema Validator - XML Schema (XSD) validation Schema 验证器 - XML Schema (XSD) 验证
- secure(boolean) - Method in class cloud.opencode.base.xml.sax.SaxParser
-
Enables secure mode (XXE protection).
- secure(DocumentBuilderFactory) - Static method in class cloud.opencode.base.xml.security.XmlSecurity
-
Configures a DocumentBuilderFactory with secure settings.
- secure(SAXParserFactory) - Static method in class cloud.opencode.base.xml.security.XmlSecurity
-
Configures a SAXParserFactory with secure settings.
- secure(XMLInputFactory) - Static method in class cloud.opencode.base.xml.security.XmlSecurity
-
Configures an XMLInputFactory with secure settings.
- secure(TransformerFactory) - Static method in class cloud.opencode.base.xml.security.XmlSecurity
-
Configures a TransformerFactory with secure settings.
- secure(SchemaFactory) - Static method in class cloud.opencode.base.xml.security.XmlSecurity
-
Configures a SchemaFactory with secure settings.
- SecureParserFactory - Class in cloud.opencode.base.xml.security
-
Secure Parser Factory - Factory for creating secure XML parsers 安全解析器工厂 - 创建安全 XML 解析器的工厂
- selectBoolean(String) - Method in class cloud.opencode.base.xml.xpath.XPathQuery
-
Selects a boolean value.
- selectBoolean(String, String) - Static method in class cloud.opencode.base.xml.xpath.OpenXPath
-
Selects a boolean using XPath.
- selectBoolean(Document, String) - Static method in class cloud.opencode.base.xml.xpath.OpenXPath
-
Selects a boolean from a Document.
- selectElement(String) - Method in class cloud.opencode.base.xml.xpath.XPathQuery
-
Selects a single element.
- selectElement(String, String) - Static method in class cloud.opencode.base.xml.xpath.OpenXPath
-
Selects a single XmlElement using XPath.
- selectElement(Document, String) - Static method in class cloud.opencode.base.xml.xpath.OpenXPath
-
Selects a single XmlElement from a Document.
- selectElement(Node, String) - Static method in class cloud.opencode.base.xml.xpath.OpenXPath
-
Selects a single XmlElement from a Node.
- selectElements(String) - Method in class cloud.opencode.base.xml.xpath.XPathQuery
-
Selects multiple elements.
- selectElements(String, String) - Static method in class cloud.opencode.base.xml.xpath.OpenXPath
-
Selects XmlElements using XPath.
- selectElements(Document, String) - Static method in class cloud.opencode.base.xml.xpath.OpenXPath
-
Selects XmlElements from a Document.
- selectElements(Node, String) - Static method in class cloud.opencode.base.xml.xpath.OpenXPath
-
Selects XmlElements from a Node.
- selectNode(String, String) - Static method in class cloud.opencode.base.xml.xpath.OpenXPath
-
Selects a single Node using XPath.
- selectNode(Document, String) - Static method in class cloud.opencode.base.xml.xpath.OpenXPath
-
Selects a single Node from a Document.
- selectNode(Node, String) - Static method in class cloud.opencode.base.xml.xpath.OpenXPath
-
Selects a single Node from a Node.
- selectNodes(String, String) - Static method in class cloud.opencode.base.xml.xpath.OpenXPath
-
Selects NodeList using XPath.
- selectNodes(Document, String) - Static method in class cloud.opencode.base.xml.xpath.OpenXPath
-
Selects NodeList from a Document.
- selectNodes(Node, String) - Static method in class cloud.opencode.base.xml.xpath.OpenXPath
-
Selects NodeList from a Node.
- selectNumber(String) - Method in class cloud.opencode.base.xml.xpath.XPathQuery
-
Selects a number value.
- selectNumber(String, String) - Static method in class cloud.opencode.base.xml.xpath.OpenXPath
-
Selects a number using XPath.
- selectNumber(Document, String) - Static method in class cloud.opencode.base.xml.xpath.OpenXPath
-
Selects a number from a Document.
- selectString(String) - Method in class cloud.opencode.base.xml.xpath.XPathQuery
-
Selects a string value.
- selectString(String, String) - Static method in class cloud.opencode.base.xml.xpath.OpenXPath
-
Selects a string value using XPath.
- selectString(Document, String) - Static method in class cloud.opencode.base.xml.xpath.OpenXPath
-
Selects a string value from a Document.
- selectString(Document, String, Map) - Static method in class cloud.opencode.base.xml.xpath.OpenXPath
-
Selects a string value from a Document with namespace mappings.
- selectString(Node, String) - Static method in class cloud.opencode.base.xml.xpath.OpenXPath
-
Selects a string value from a Node.
- selectString(Node, String, Map) - Static method in class cloud.opencode.base.xml.xpath.OpenXPath
-
Selects a string value from a Node with namespace mappings.
- selectValues(String) - Method in class cloud.opencode.base.xml.xpath.XPathQuery
-
Selects string values.
- serialize(XmlDocument) - Static method in class cloud.opencode.base.xml.transform.XmlTransformer
-
Serializes an XmlDocument to a string.
- serialize(XmlDocument, int) - Static method in class cloud.opencode.base.xml.transform.XmlTransformer
-
Serializes an XmlDocument to a formatted string.
- serialize(XmlDocument, OutputStream) - Static method in class cloud.opencode.base.xml.transform.XmlTransformer
-
Serializes an XmlDocument to an output stream.
- serialize(XmlDocument, OutputStream, int) - Static method in class cloud.opencode.base.xml.transform.XmlTransformer
-
Serializes an XmlDocument to an output stream with formatting.
- serialize(XmlDocument, Path) - Static method in class cloud.opencode.base.xml.transform.XmlTransformer
-
Serializes an XmlDocument to a file.
- serialize(XmlDocument, Path, int) - Static method in class cloud.opencode.base.xml.transform.XmlTransformer
-
Serializes an XmlDocument to a file with formatting.
- serialize(XmlDocument, Path, int, String) - Static method in class cloud.opencode.base.xml.transform.XmlTransformer
-
Serializes an XmlDocument to a file with options.
- serialize(XmlElement) - Static method in class cloud.opencode.base.xml.transform.XmlTransformer
-
Serializes an XmlElement to a string.
- serialize(XmlElement, int) - Static method in class cloud.opencode.base.xml.transform.XmlTransformer
-
Serializes an XmlElement to a formatted string.
- set(XmlDocument, String, String) - Static method in class cloud.opencode.base.xml.path.XmlPath
-
Sets the value at the specified path, creating intermediate elements as needed.
- setAttribute(String, String) - Method in class cloud.opencode.base.xml.XmlElement
-
Sets an attribute value.
- setDefaultNamespace(String) - Method in class cloud.opencode.base.xml.namespace.OpenNamespaceContext
-
Sets the default namespace URI.
- setEntityExpansionLimit(DocumentBuilderFactory, int) - Static method in class cloud.opencode.base.xml.security.XmlSecurity
-
Sets the entity expansion limit on a DocumentBuilderFactory.
- setText(String) - Method in class cloud.opencode.base.xml.XmlElement
-
Sets the text content.
- severity() - Method in record class cloud.opencode.base.xml.validate.ValidationResult.ValidationError
-
Returns the value of the
severityrecord component. - SimpleSaxHandler - Class in cloud.opencode.base.xml.sax
-
Simple SAX Handler - Lambda-friendly SAX handler 简化 SAX 处理器 - Lambda 友好的 SAX 处理器
- SKIP_EXISTING - Enum constant in enum class cloud.opencode.base.xml.merge.MergeStrategy
-
Only add elements from overlay that do not exist in base.
- skipTo(String) - Method in class cloud.opencode.base.xml.stax.StaxReader
-
Skips to a specific element.
- skipTo(XMLStreamReader, String) - Static method in class cloud.opencode.base.xml.stax.StaxUtil
-
Skips to an element with the given name.
- skipToNextStartElement() - Method in class cloud.opencode.base.xml.stax.StaxReader
-
Skips to the next start element.
- SOAP_ENV_URI - Static variable in class cloud.opencode.base.xml.namespace.NamespaceUtil
- SOAP12_ENV_URI - Static variable in class cloud.opencode.base.xml.namespace.NamespaceUtil
- soap12Context() - Static method in class cloud.opencode.base.xml.namespace.NamespaceUtil
-
Creates a namespace context for SOAP 1.2.
- soapContext() - Static method in class cloud.opencode.base.xml.namespace.NamespaceUtil
-
Creates a namespace context for SOAP 1.1.
- split(InputStream, String, Consumer) - Static method in class cloud.opencode.base.xml.OpenXml
-
Splits an XML input stream by element name and processes each fragment.
- split(InputStream, String, Consumer) - Static method in class cloud.opencode.base.xml.splitter.XmlSplitter
-
Splits an XML input stream and processes each matching element via callback.
- split(String, String, Consumer) - Static method in class cloud.opencode.base.xml.splitter.XmlSplitter
-
Splits an XML string and processes each matching element via callback.
- split(Path, String, Consumer) - Static method in class cloud.opencode.base.xml.splitter.XmlSplitter
-
Splits an XML file and processes each matching element via callback.
- splitAll(String, String) - Static method in class cloud.opencode.base.xml.OpenXml
-
Splits an XML string by element name and collects all fragments.
- splitAll(String, String) - Static method in class cloud.opencode.base.xml.splitter.XmlSplitter
-
Collects all matching element fragments from an XML string.
- splitIndexed(InputStream, String, Consumer) - Static method in class cloud.opencode.base.xml.splitter.XmlSplitter
-
Splits an XML input stream with index and processes each matching element via callback.
- SplitResult - Record Class in cloud.opencode.base.xml.splitter
-
Split Result - Holds an indexed XML fragment from a split operation 拆分结果 - 保存拆分操作中带索引的 XML 片段
- SplitResult(int, XmlDocument) - Constructor for record class cloud.opencode.base.xml.splitter.SplitResult
-
Creates an instance of a
SplitResultrecord class. - standalone(boolean) - Method in class cloud.opencode.base.xml.builder.XmlBuilder
-
Sets the standalone declaration.
- startChild(String) - Method in class cloud.opencode.base.xml.builder.ElementBuilder
-
Starts building a child element.
- startChild(String, String) - Method in class cloud.opencode.base.xml.builder.ElementBuilder
-
Starts building a child element with namespace.
- startDocument() - Method in interface cloud.opencode.base.xml.sax.SaxHandler
-
Called when document parsing starts.
- startDocument() - Method in class cloud.opencode.base.xml.stax.StaxWriter
-
Writes the XML declaration.
- startDocument(String, String) - Method in class cloud.opencode.base.xml.stax.StaxWriter
-
Writes the XML declaration with encoding and version.
- startElement(String) - Method in class cloud.opencode.base.xml.builder.XmlBuilder
-
Starts a new child element.
- startElement(String) - Method in class cloud.opencode.base.xml.dom.DomBuilder
-
Starts a new child element and makes it the current element.
- startElement(String) - Method in class cloud.opencode.base.xml.stax.StaxWriter
-
Starts an element.
- startElement(String, String) - Method in class cloud.opencode.base.xml.builder.XmlBuilder
-
Starts a new child element with namespace.
- startElement(String, String) - Method in class cloud.opencode.base.xml.dom.DomBuilder
-
Starts a new child element with namespace.
- startElement(String, String) - Method in class cloud.opencode.base.xml.stax.StaxWriter
-
Starts an element with namespace.
- startElement(String, String, String) - Method in class cloud.opencode.base.xml.builder.XmlBuilder
-
Starts a new child element with prefix and namespace.
- startElement(String, String, String) - Method in class cloud.opencode.base.xml.stax.StaxWriter
-
Starts an element with prefix and namespace.
- startElement(String, String, String, Map) - Method in interface cloud.opencode.base.xml.sax.SaxHandler
-
Called when an element starts.
- startElement(String, String, String, Map) - Method in class cloud.opencode.base.xml.sax.SimpleSaxHandler
- staxReader(String) - Static method in class cloud.opencode.base.xml.OpenXml
-
Creates a StAX reader.
- staxReader(Path) - Static method in class cloud.opencode.base.xml.OpenXml
-
Creates a StAX reader from file.
- StaxReader - Class in cloud.opencode.base.xml.stax
-
StAX Reader - Pull-mode streaming XML reader StAX 读取器 - 拉模式流式 XML 读取器
- StaxUtil - Class in cloud.opencode.base.xml.stax
-
StAX Utility - Utility methods for StAX operations StAX 工具类 - StAX 操作的工具方法
- staxWriter() - Static method in class cloud.opencode.base.xml.OpenXml
-
Creates a StAX writer.
- staxWriter(Path) - Static method in class cloud.opencode.base.xml.OpenXml
-
Creates a StAX writer to file.
- StaxWriter - Class in cloud.opencode.base.xml.stax
-
StAX Writer - Streaming XML writer StAX 写入器 - 流式 XML 写入器
T
- text(String) - Method in class cloud.opencode.base.xml.builder.ElementBuilder
-
Sets the text content of the element.
- text(String) - Method in class cloud.opencode.base.xml.builder.XmlBuilder
-
Adds text content to the current element.
- text(String) - Method in class cloud.opencode.base.xml.dom.DomBuilder
-
Sets the text content of the current element.
- text(String) - Method in class cloud.opencode.base.xml.stax.StaxWriter
-
Writes text content.
- TEXT - Enum constant in enum class cloud.opencode.base.xml.XmlNode.NodeType
-
Text node
- TEXT_MODIFIED - Enum constant in enum class cloud.opencode.base.xml.diff.DiffType
-
Text content modified between documents.
- toMap() - Method in class cloud.opencode.base.xml.XmlDocument
-
Converts this document to a Map.
- toMap() - Method in class cloud.opencode.base.xml.XmlElement
- toMap() - Method in interface cloud.opencode.base.xml.XmlNode
-
Converts this node to a Map.
- toString() - Method in record class cloud.opencode.base.xml.diff.DiffEntry
-
Returns a string representation of this record class.
- toString() - Method in class cloud.opencode.base.xml.namespace.OpenNamespaceContext
- toString() - Method in record class cloud.opencode.base.xml.splitter.SplitResult
-
Returns a string representation of this record class.
- toString() - Method in class cloud.opencode.base.xml.stax.StaxWriter
- toString() - Method in class cloud.opencode.base.xml.validate.ValidationResult
- toString() - Method in record class cloud.opencode.base.xml.validate.ValidationResult.ValidationError
-
Returns a string representation of this record class.
- toString() - Method in class cloud.opencode.base.xml.XmlDocument
- toString() - Method in class cloud.opencode.base.xml.XmlElement
- toString() - Method in record class cloud.opencode.base.xml.xpath.XPathResult
-
Returns a string representation of this record class.
- toString(Document) - Static method in class cloud.opencode.base.xml.dom.DomUtil
-
Converts a Document to XML string.
- toString(Document, int) - Static method in class cloud.opencode.base.xml.dom.DomUtil
-
Converts a Document to formatted XML string.
- toString(Node) - Static method in class cloud.opencode.base.xml.dom.DomUtil
-
Converts a Node to XML string.
- toString(Node, int) - Static method in class cloud.opencode.base.xml.dom.DomUtil
-
Converts a Node to formatted XML string.
- toXml() - Method in class cloud.opencode.base.xml.builder.ElementBuilder
-
Converts the element to an XML string.
- toXml() - Method in class cloud.opencode.base.xml.builder.XmlBuilder
-
Builds and returns the XML string.
- toXml() - Method in class cloud.opencode.base.xml.dom.DomBuilder
-
Builds and returns the Document as XML string.
- toXml() - Method in class cloud.opencode.base.xml.XmlDocument
-
Converts this document to XML string.
- toXml() - Method in class cloud.opencode.base.xml.XmlElement
- toXml() - Method in interface cloud.opencode.base.xml.XmlNode
-
Converts this node to XML string.
- toXml(int) - Method in class cloud.opencode.base.xml.builder.ElementBuilder
-
Converts the element to a formatted XML string.
- toXml(int) - Method in class cloud.opencode.base.xml.builder.XmlBuilder
-
Builds and returns the formatted XML string.
- toXml(int) - Method in class cloud.opencode.base.xml.dom.DomBuilder
-
Builds and returns the Document as formatted XML string.
- toXml(int) - Method in class cloud.opencode.base.xml.XmlDocument
-
Converts this document to formatted XML string.
- toXml(int) - Method in class cloud.opencode.base.xml.XmlElement
- toXml(int) - Method in interface cloud.opencode.base.xml.XmlNode
-
Converts this node to XML string with indentation.
- transform(XmlDocument) - Method in class cloud.opencode.base.xml.transform.XsltTransformer
-
Transforms an XmlDocument.
- transform(InputStream) - Method in class cloud.opencode.base.xml.transform.XsltTransformer
-
Transforms from input stream to string.
- transform(String) - Method in class cloud.opencode.base.xml.transform.XsltTransformer
-
Transforms an XML string.
- transform(String, OutputStream) - Method in class cloud.opencode.base.xml.transform.XsltTransformer
-
Transforms to an output stream.
- transform(Path, Path) - Method in class cloud.opencode.base.xml.transform.XsltTransformer
-
Transforms from file to file.
- transformError(Throwable) - Static method in exception class cloud.opencode.base.xml.exception.OpenXmlException
-
Creates a transform error exception.
- transformFile(Path) - Method in class cloud.opencode.base.xml.transform.XsltTransformer
-
Transforms from file to string.
- transformToDocument(XmlDocument) - Method in class cloud.opencode.base.xml.transform.XsltTransformer
-
Transforms an XmlDocument to XmlDocument.
- transformToDocument(String) - Method in class cloud.opencode.base.xml.transform.XsltTransformer
-
Transforms an XML string to XmlDocument.
- type() - Method in record class cloud.opencode.base.xml.diff.DiffEntry
-
Returns the value of the
typerecord component.
U
- unbind(String) - Method in class cloud.opencode.base.xml.namespace.OpenNamespaceContext
-
Removes a prefix binding.
- UNKNOWN - Enum constant in enum class cloud.opencode.base.xml.XmlNode.NodeType
-
Unknown node type
- unmarshal(XmlDocument, Class) - Method in class cloud.opencode.base.xml.bind.XmlBinder
-
Unmarshals XML document to object.
- unmarshal(XmlDocument, Class) - Static method in class cloud.opencode.base.xml.OpenXml
-
Unmarshals XmlDocument to an object.
- unmarshal(XmlElement, Class) - Method in class cloud.opencode.base.xml.bind.XmlBinder
-
Unmarshals XML element to object.
- unmarshal(String) - Method in class cloud.opencode.base.xml.bind.adapter.DateAdapter.DurationAdapter
- unmarshal(String) - Method in class cloud.opencode.base.xml.bind.adapter.DateAdapter.InstantAdapter
- unmarshal(String) - Method in class cloud.opencode.base.xml.bind.adapter.DateAdapter.LegacyDateAdapter
- unmarshal(String) - Method in class cloud.opencode.base.xml.bind.adapter.DateAdapter.LocalDateAdapter
- unmarshal(String) - Method in class cloud.opencode.base.xml.bind.adapter.DateAdapter.LocalDateTimeAdapter
- unmarshal(String) - Method in class cloud.opencode.base.xml.bind.adapter.DateAdapter.LocalTimeAdapter
- unmarshal(String) - Method in class cloud.opencode.base.xml.bind.adapter.DateAdapter.PeriodAdapter
- unmarshal(String) - Method in class cloud.opencode.base.xml.bind.adapter.DateAdapter.ZonedDateTimeAdapter
- unmarshal(String, Class) - Method in class cloud.opencode.base.xml.bind.XmlBinder
-
Unmarshals XML string to object.
- unmarshal(String, Class) - Static method in class cloud.opencode.base.xml.OpenXml
-
Unmarshals XML to an object.
- unmarshal(V) - Method in interface cloud.opencode.base.xml.bind.adapter.XmlAdapter
-
Converts an XML value to a Java object.
- unwrap() - Method in class cloud.opencode.base.xml.builder.ElementBuilder
-
Gets the underlying DOM Element.
V
- valid() - Static method in class cloud.opencode.base.xml.validate.ValidationResult
-
Creates a successful validation result.
- validate(XmlDocument) - Method in class cloud.opencode.base.xml.validate.SchemaValidator
-
Validates an XmlDocument.
- validate(InputStream) - Method in class cloud.opencode.base.xml.validate.DtdValidator
-
Validates an XML input stream.
- validate(InputStream) - Method in class cloud.opencode.base.xml.validate.SchemaValidator
-
Validates an XML input stream.
- validate(String) - Method in class cloud.opencode.base.xml.validate.DtdValidator
-
Validates an XML string.
- validate(String) - Method in class cloud.opencode.base.xml.validate.SchemaValidator
-
Validates an XML string.
- validate(Path) - Method in class cloud.opencode.base.xml.validate.DtdValidator
-
Validates an XML file.
- validate(Path) - Method in class cloud.opencode.base.xml.validate.SchemaValidator
-
Validates an XML file.
- validate(Source) - Method in class cloud.opencode.base.xml.validate.SchemaValidator
-
Validates from a Source.
- validate(InputSource) - Method in class cloud.opencode.base.xml.validate.DtdValidator
-
Validates from an InputSource.
- validateDtd(String) - Static method in class cloud.opencode.base.xml.validate.XmlValidator
-
Validates XML with embedded DTD.
- validateDtd(String, Path) - Static method in class cloud.opencode.base.xml.validate.XmlValidator
-
Validates XML against an external DTD.
- validateDtd(Path, Path) - Static method in class cloud.opencode.base.xml.validate.XmlValidator
-
Validates XML file against an external DTD.
- validateOrThrow(XmlDocument) - Method in class cloud.opencode.base.xml.validate.SchemaValidator
-
Validates and throws if invalid.
- validateOrThrow(String) - Method in class cloud.opencode.base.xml.validate.DtdValidator
-
Validates and throws if invalid.
- validateOrThrow(String) - Method in class cloud.opencode.base.xml.validate.SchemaValidator
-
Validates and throws if invalid.
- validateOrThrow(Path) - Method in class cloud.opencode.base.xml.validate.DtdValidator
-
Validates and throws if invalid.
- validateOrThrow(Path) - Method in class cloud.opencode.base.xml.validate.SchemaValidator
-
Validates and throws if invalid.
- validateSchema(XmlDocument, Path) - Static method in class cloud.opencode.base.xml.validate.XmlValidator
-
Validates XmlDocument against an XSD schema.
- validateSchema(String, String) - Static method in class cloud.opencode.base.xml.validate.XmlValidator
-
Validates XML against an XSD schema string.
- validateSchema(String, Path) - Static method in class cloud.opencode.base.xml.OpenXml
-
Validates XML against a schema.
- validateSchema(String, Path) - Static method in class cloud.opencode.base.xml.validate.XmlValidator
-
Validates XML against an XSD schema.
- validateSchema(Path, Path) - Static method in class cloud.opencode.base.xml.validate.XmlValidator
-
Validates XML file against an XSD schema.
- validateWellFormedness(String) - Static method in class cloud.opencode.base.xml.OpenXml
-
Validates XML well-formedness.
- validateWellFormedness(String) - Static method in class cloud.opencode.base.xml.validate.XmlValidator
-
Validates XML well-formedness.
- validateWellFormedness(Path) - Static method in class cloud.opencode.base.xml.validate.XmlValidator
-
Validates XML file well-formedness.
- validating(boolean) - Method in class cloud.opencode.base.xml.sax.SaxParser
-
Enables validation.
- validationError(String) - Static method in exception class cloud.opencode.base.xml.exception.OpenXmlException
-
Creates a validation error exception.
- ValidationError(String, int, int, ValidationResult.ValidationError.Severity) - Constructor for record class cloud.opencode.base.xml.validate.ValidationResult.ValidationError
-
Creates an instance of a
ValidationErrorrecord class. - ValidationResult - Class in cloud.opencode.base.xml.validate
-
Validation Result - Contains XML validation results 验证结果 - 包含 XML 验证结果
- ValidationResult() - Constructor for class cloud.opencode.base.xml.validate.ValidationResult
- ValidationResult.ValidationError - Record Class in cloud.opencode.base.xml.validate
-
Validation Error - Represents a single validation error or warning 验证错误 - 表示单个验证错误或警告
- ValidationResult.ValidationError.Severity - Enum Class in cloud.opencode.base.xml.validate
-
Error severity levels.
- value() - Element in annotation interface cloud.opencode.base.xml.bind.annotation.XmlAttribute
-
The attribute name.
- value() - Element in annotation interface cloud.opencode.base.xml.bind.annotation.XmlElement
-
The element name.
- value() - Element in annotation interface cloud.opencode.base.xml.bind.annotation.XmlElementList
-
The wrapper element name.
- value() - Element in annotation interface cloud.opencode.base.xml.bind.annotation.XmlRoot
-
The element name.
- value() - Method in record class cloud.opencode.base.xml.xpath.XPathResult
-
Returns the value of the
valuerecord component. - valueOf(String) - Static method in enum class cloud.opencode.base.xml.diff.DiffType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.xml.exception.XmlSecurityException.SecurityViolationType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.xml.merge.MergeStrategy
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.xml.validate.ValidationResult.ValidationError.Severity
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.xml.XmlNode.NodeType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class cloud.opencode.base.xml.diff.DiffType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.xml.exception.XmlSecurityException.SecurityViolationType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.xml.merge.MergeStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.xml.validate.ValidationResult.ValidationError.Severity
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.xml.XmlNode.NodeType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- variable(String, Object) - Method in class cloud.opencode.base.xml.xpath.XPathQuery
-
Adds a variable binding.
- version(String) - Method in class cloud.opencode.base.xml.builder.XmlBuilder
-
Sets the XML version.
W
- warning(SaxParseException) - Method in interface cloud.opencode.base.xml.sax.SaxHandler
-
Called for parsing warnings.
- WARNING - Enum constant in enum class cloud.opencode.base.xml.validate.ValidationResult.ValidationError.Severity
- withExternalDtd(String) - Method in class cloud.opencode.base.xml.validate.DtdValidator
-
Sets an external DTD for validation by URL.
- withExternalDtd(Path) - Method in class cloud.opencode.base.xml.validate.DtdValidator
-
Sets an external DTD for validation.
- withNamespaces(Map) - Static method in class cloud.opencode.base.xml.xpath.OpenXPath
-
Creates an XPath query with namespaces.
X
- xml(String) - Method in class cloud.opencode.base.xml.xpath.XPathQuery
-
Sets the XML to query.
- XML_URI - Static variable in class cloud.opencode.base.xml.namespace.NamespaceUtil
- XmlAdapter<V,
B> - Interface in cloud.opencode.base.xml.bind.adapter -
XML Adapter Interface - Converts between XML representation and Java types XML 适配器接口 - 在 XML 表示和 Java 类型之间转换
- XmlAttribute - Annotation Interface in cloud.opencode.base.xml.bind.annotation
-
XML Attribute Annotation - Maps a field to an XML attribute XML 属性注解 - 将字段映射到 XML 属性
- XmlBinder - Class in cloud.opencode.base.xml.bind
-
XML Binder - Binds XML to/from Java objects XML 绑定器 - 将 XML 绑定到 Java 对象或从 Java 对象绑定
- XmlBindException - Exception Class in cloud.opencode.base.xml.exception
-
XML Bind Exception - Thrown when XML-to-Bean binding fails XML 绑定异常 - 当 XML 到 Bean 绑定失败时抛出
- XmlBindException(Class, String) - Constructor for exception class cloud.opencode.base.xml.exception.XmlBindException
-
Constructs a bind exception with target type and message.
- XmlBindException(Class, String, Throwable) - Constructor for exception class cloud.opencode.base.xml.exception.XmlBindException
-
Constructs a bind exception with target type, message and cause.
- XmlBindException(String) - Constructor for exception class cloud.opencode.base.xml.exception.XmlBindException
-
Constructs a bind exception with message only.
- XmlBindException(String, Throwable) - Constructor for exception class cloud.opencode.base.xml.exception.XmlBindException
-
Constructs a bind exception with message and cause.
- XmlBuilder - Class in cloud.opencode.base.xml.builder
-
XML Builder - Fluent builder for XML documents XML 构建器 - XML 文档的流式构建器
- XmlCanonicalizer - Class in cloud.opencode.base.xml.canonical
-
XML Canonicalizer - Produces canonical XML output (C14N) XML 规范化器 - 生成规范化 XML 输出(C14N)
- XmlDiff - Class in cloud.opencode.base.xml.diff
-
XML Diff - Compares two XML documents and produces a list of differences XML 差异比较 - 比较两个 XML 文档并生成差异列表
- XmlDocument - Class in cloud.opencode.base.xml
-
XML Document - Wrapper for DOM Document with fluent API XML 文档 - 提供流式 API 的 DOM Document 封装
- XmlElement - Class in cloud.opencode.base.xml
-
XML Element - Wrapper for DOM Element with fluent API XML 元素 - 提供流式 API 的 DOM Element 封装
- XmlElement - Annotation Interface in cloud.opencode.base.xml.bind.annotation
-
XML Element Annotation - Maps a field to an XML element XML 元素注解 - 将字段映射到 XML 元素
- XmlElementList - Annotation Interface in cloud.opencode.base.xml.bind.annotation
-
XML Element List Annotation - Maps a collection to wrapped XML elements XML 元素列表注解 - 将集合映射到包装的 XML 元素
- xmlEquals(String, String) - Static method in class cloud.opencode.base.xml.OpenXml
-
Checks whether two XML strings are structurally equal.
- XmlIgnore - Annotation Interface in cloud.opencode.base.xml.bind.annotation
-
XML Ignore Annotation - Excludes a field from XML binding XML 忽略注解 - 从 XML 绑定中排除字段
- XmlMerge - Class in cloud.opencode.base.xml.merge
-
XML Merge - Merges two XML documents by overlaying one onto another XML 合并 - 通过将一个 XML 文档覆盖到另一个上来合并两个 XML 文档
- XmlNode - Interface in cloud.opencode.base.xml
-
XML Node Interface - Base interface for XML nodes XML 节点接口 - XML 节点的基础接口
- XmlNode.NodeType - Enum Class in cloud.opencode.base.xml
-
Node type enumeration.
- XMLNS_URI - Static variable in class cloud.opencode.base.xml.namespace.NamespaceUtil
-
Common XML namespace URIs.
- XmlParseException - Exception Class in cloud.opencode.base.xml.exception
-
XML Parse Exception - Thrown when XML parsing fails XML 解析异常 - 当 XML 解析失败时抛出
- XmlParseException(String) - Constructor for exception class cloud.opencode.base.xml.exception.XmlParseException
-
Constructs a parse exception with message only.
- XmlParseException(String, int, int) - Constructor for exception class cloud.opencode.base.xml.exception.XmlParseException
-
Constructs a parse exception with message and location.
- XmlParseException(String, int, int, Throwable) - Constructor for exception class cloud.opencode.base.xml.exception.XmlParseException
-
Constructs a parse exception with message, location and cause.
- XmlParseException(String, Throwable) - Constructor for exception class cloud.opencode.base.xml.exception.XmlParseException
-
Constructs a parse exception with message and cause.
- XmlPath - Class in cloud.opencode.base.xml.path
-
XML Path - Simplified dot-notation path access for XML documents XML 路径 - XML 文档的简化点表示法路径访问
- XmlRoot - Annotation Interface in cloud.opencode.base.xml.bind.annotation
-
XML Root Element Annotation - Marks a class as an XML root element XML 根元素注解 - 标记类为 XML 根元素
- XmlSecurity - Class in cloud.opencode.base.xml.security
-
XML Security Configuration - Provides secure XML parser configuration XML 安全配置 - 提供安全的 XML 解析器配置
- XmlSecurityException - Exception Class in cloud.opencode.base.xml.exception
-
XML Security Exception - Thrown when a security violation is detected XML 安全异常 - 当检测到安全违规时抛出
- XmlSecurityException(XmlSecurityException.SecurityViolationType, String) - Constructor for exception class cloud.opencode.base.xml.exception.XmlSecurityException
-
Constructs a security exception with violation type and message.
- XmlSecurityException(XmlSecurityException.SecurityViolationType, String, Throwable) - Constructor for exception class cloud.opencode.base.xml.exception.XmlSecurityException
-
Constructs a security exception with violation type, message and cause.
- XmlSecurityException.SecurityViolationType - Enum Class in cloud.opencode.base.xml.exception
-
Security Violation Type Enumeration 安全违规类型枚举
- XmlSplitter - Class in cloud.opencode.base.xml.splitter
-
XML Splitter - Splits large XML streams by element name XML 拆分器 - 按元素名称拆分大型 XML 流
- XmlTransformer - Class in cloud.opencode.base.xml.transform
-
XML Transformer - XML serialization and formatting utilities XML 转换器 - XML 序列化和格式化工具
- XmlTransformException - Exception Class in cloud.opencode.base.xml.exception
-
XML Transform Exception - Thrown when XSLT transformation fails XML 转换异常 - 当 XSLT 转换失败时抛出
- XmlTransformException(String) - Constructor for exception class cloud.opencode.base.xml.exception.XmlTransformException
-
Constructs a transform exception with message.
- XmlTransformException(String, Throwable) - Constructor for exception class cloud.opencode.base.xml.exception.XmlTransformException
-
Constructs a transform exception with message and cause.
- XmlTransformException(Throwable) - Constructor for exception class cloud.opencode.base.xml.exception.XmlTransformException
-
Constructs a transform exception with cause.
- XmlValidationException - Exception Class in cloud.opencode.base.xml.exception
-
XML Validation Exception - Thrown when XML validation fails XML 验证异常 - 当 XML 验证失败时抛出
- XmlValidationException(String) - Constructor for exception class cloud.opencode.base.xml.exception.XmlValidationException
-
Constructs a validation exception with message.
- XmlValidationException(String, Throwable) - Constructor for exception class cloud.opencode.base.xml.exception.XmlValidationException
-
Constructs a validation exception with message and cause.
- XmlValidationException(String, List) - Constructor for exception class cloud.opencode.base.xml.exception.XmlValidationException
-
Constructs a validation exception with message and error list.
- XmlValidationException(List) - Constructor for exception class cloud.opencode.base.xml.exception.XmlValidationException
-
Constructs a validation exception with error list.
- XmlValidator - Class in cloud.opencode.base.xml.validate
-
XML Validator - XML well-formedness and validation utilities XML 验证器 - XML 格式良好性和验证工具
- XmlValue - Annotation Interface in cloud.opencode.base.xml.bind.annotation
-
XML Value Annotation - Maps a field to element text content XML 值注解 - 将字段映射到元素文本内容
- XmlXPathException - Exception Class in cloud.opencode.base.xml.exception
-
XPath Exception - Thrown when XPath evaluation fails XPath 异常 - 当 XPath 求值失败时抛出
- XmlXPathException(String, String) - Constructor for exception class cloud.opencode.base.xml.exception.XmlXPathException
-
Constructs an XPath exception with expression and message.
- XmlXPathException(String, Throwable) - Constructor for exception class cloud.opencode.base.xml.exception.XmlXPathException
-
Constructs an XPath exception with expression and cause.
- xpath() - Method in record class cloud.opencode.base.xml.xpath.XPathResult
-
Returns the value of the
xpathrecord component. - xpath(XmlDocument, String) - Static method in class cloud.opencode.base.xml.OpenXml
-
Evaluates an XPath expression and returns a string.
- xpath(XmlDocument, String, Map) - Static method in class cloud.opencode.base.xml.OpenXml
-
Evaluates an XPath expression with namespaces.
- xpath(XmlElement, String) - Static method in class cloud.opencode.base.xml.OpenXml
-
Evaluates an XPath expression on an element.
- xpath(String) - Method in class cloud.opencode.base.xml.XmlDocument
-
Evaluates an XPath expression and returns string result.
- xpath(String) - Method in class cloud.opencode.base.xml.XmlElement
-
Evaluates an XPath expression relative to this element.
- xpath(String, Class) - Method in class cloud.opencode.base.xml.XmlDocument
-
Evaluates an XPath expression and returns typed result.
- xpathElements(XmlDocument, String) - Static method in class cloud.opencode.base.xml.OpenXml
-
Evaluates an XPath expression and returns elements.
- xpathError(String, Throwable) - Static method in exception class cloud.opencode.base.xml.exception.OpenXmlException
-
Creates an XPath error exception.
- xpathList(String) - Method in class cloud.opencode.base.xml.XmlDocument
-
Evaluates an XPath expression and returns element list.
- xpathList(String) - Method in class cloud.opencode.base.xml.XmlElement
-
Evaluates an XPath expression and returns element list.
- xpathOne(String) - Method in class cloud.opencode.base.xml.XmlDocument
-
Evaluates an XPath expression and returns single element.
- XPathQuery - Class in cloud.opencode.base.xml.xpath
-
XPath Query - Builder for complex XPath queries XPath 查询 - 复杂 XPath 查询的构建器
- XPathResult - Record Class in cloud.opencode.base.xml.xpath
-
XPath Result - Container for XPath query results XPath 结果 - XPath 查询结果的容器
- XPathResult(Object, List, String) - Constructor for record class cloud.opencode.base.xml.xpath.XPathResult
-
Creates an instance of a
XPathResultrecord class. - XSD_URI - Static variable in class cloud.opencode.base.xml.namespace.NamespaceUtil
- xsdContext() - Static method in class cloud.opencode.base.xml.namespace.NamespaceUtil
-
Creates a namespace context for XML Schema.
- XSI_URI - Static variable in class cloud.opencode.base.xml.namespace.NamespaceUtil
- xslt(String, Path) - Static method in class cloud.opencode.base.xml.OpenXml
-
Transforms XML using XSLT.
- xsltTransformer(String) - Static method in class cloud.opencode.base.xml.OpenXml
-
Creates an XSLT transformer from string.
- xsltTransformer(Path) - Static method in class cloud.opencode.base.xml.OpenXml
-
Creates an XSLT transformer.
- XsltTransformer - Class in cloud.opencode.base.xml.transform
-
XSLT Transformer - XSLT stylesheet transformation XSLT 转换器 - XSLT 样式表转换
- XXE_DETECTED - Enum constant in enum class cloud.opencode.base.xml.exception.XmlSecurityException.SecurityViolationType
-
External entity reference detected (XXE attack) 检测到外部实体引用(XXE 攻击)
Z
- ZonedDateTimeAdapter() - Constructor for class cloud.opencode.base.xml.bind.adapter.DateAdapter.ZonedDateTimeAdapter
- ZonedDateTimeAdapter(DateTimeFormatter) - Constructor for class cloud.opencode.base.xml.bind.adapter.DateAdapter.ZonedDateTimeAdapter
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form