// WARNING: This file was autogenerated by jni-bindgen. Any changes to this file may be lost!!!
#[cfg(any(feature = "all", feature = "org-w3c-dom-Document"))]
__jni_bindgen! {
/// public interface [Document](https://developer.android.com/reference/org/w3c/dom/Document.html)
///
/// Required feature: "org-w3c-dom-Document"
public interface Document ("org/w3c/dom/Document") extends crate::java::lang::Object, implements crate::org::w3c::dom::Node {
/// [getDoctype](https://developer.android.com/reference/org/w3c/dom/Document.html#getDoctype())
///
/// Required features: "org-w3c-dom-DocumentType"
#[cfg(any(feature = "all", all(feature = "org-w3c-dom-DocumentType")))]
pub fn getDoctype<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::w3c::dom::DocumentType>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "getDoctype", .descriptor == "()Lorg/w3c/dom/DocumentType;"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/w3c/dom/Document\0", "getDoctype\0", "()Lorg/w3c/dom/DocumentType;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getImplementation](https://developer.android.com/reference/org/w3c/dom/Document.html#getImplementation())
///
/// Required features: "org-w3c-dom-DOMImplementation"
#[cfg(any(feature = "all", all(feature = "org-w3c-dom-DOMImplementation")))]
pub fn getImplementation<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::w3c::dom::DOMImplementation>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "getImplementation", .descriptor == "()Lorg/w3c/dom/DOMImplementation;"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/w3c/dom/Document\0", "getImplementation\0", "()Lorg/w3c/dom/DOMImplementation;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getDocumentElement](https://developer.android.com/reference/org/w3c/dom/Document.html#getDocumentElement())
///
/// Required features: "org-w3c-dom-Element"
#[cfg(any(feature = "all", all(feature = "org-w3c-dom-Element")))]
pub fn getDocumentElement<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::w3c::dom::Element>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "getDocumentElement", .descriptor == "()Lorg/w3c/dom/Element;"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/w3c/dom/Document\0", "getDocumentElement\0", "()Lorg/w3c/dom/Element;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [createElement](https://developer.android.com/reference/org/w3c/dom/Document.html#createElement(java.lang.String))
///
/// Required features: "java-lang-String", "org-w3c-dom-Element"
#[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "org-w3c-dom-Element")))]
pub fn createElement<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::w3c::dom::Element>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "createElement", .descriptor == "(Ljava/lang/String;)Lorg/w3c/dom/Element;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/w3c/dom/Document\0", "createElement\0", "(Ljava/lang/String;)Lorg/w3c/dom/Element;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [createDocumentFragment](https://developer.android.com/reference/org/w3c/dom/Document.html#createDocumentFragment())
///
/// Required features: "org-w3c-dom-DocumentFragment"
#[cfg(any(feature = "all", all(feature = "org-w3c-dom-DocumentFragment")))]
pub fn createDocumentFragment<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::w3c::dom::DocumentFragment>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "createDocumentFragment", .descriptor == "()Lorg/w3c/dom/DocumentFragment;"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/w3c/dom/Document\0", "createDocumentFragment\0", "()Lorg/w3c/dom/DocumentFragment;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [createTextNode](https://developer.android.com/reference/org/w3c/dom/Document.html#createTextNode(java.lang.String))
///
/// Required features: "java-lang-String", "org-w3c-dom-Text"
#[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "org-w3c-dom-Text")))]
pub fn createTextNode<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::w3c::dom::Text>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "createTextNode", .descriptor == "(Ljava/lang/String;)Lorg/w3c/dom/Text;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/w3c/dom/Document\0", "createTextNode\0", "(Ljava/lang/String;)Lorg/w3c/dom/Text;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [createComment](https://developer.android.com/reference/org/w3c/dom/Document.html#createComment(java.lang.String))
///
/// Required features: "java-lang-String", "org-w3c-dom-Comment"
#[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "org-w3c-dom-Comment")))]
pub fn createComment<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::w3c::dom::Comment>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "createComment", .descriptor == "(Ljava/lang/String;)Lorg/w3c/dom/Comment;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/w3c/dom/Document\0", "createComment\0", "(Ljava/lang/String;)Lorg/w3c/dom/Comment;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [createCDATASection](https://developer.android.com/reference/org/w3c/dom/Document.html#createCDATASection(java.lang.String))
///
/// Required features: "java-lang-String", "org-w3c-dom-CDATASection"
#[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "org-w3c-dom-CDATASection")))]
pub fn createCDATASection<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::w3c::dom::CDATASection>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "createCDATASection", .descriptor == "(Ljava/lang/String;)Lorg/w3c/dom/CDATASection;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/w3c/dom/Document\0", "createCDATASection\0", "(Ljava/lang/String;)Lorg/w3c/dom/CDATASection;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [createProcessingInstruction](https://developer.android.com/reference/org/w3c/dom/Document.html#createProcessingInstruction(java.lang.String,%20java.lang.String))
///
/// Required features: "java-lang-String", "org-w3c-dom-ProcessingInstruction"
#[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "org-w3c-dom-ProcessingInstruction")))]
pub fn createProcessingInstruction<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::w3c::dom::ProcessingInstruction>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "createProcessingInstruction", .descriptor == "(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/ProcessingInstruction;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/w3c/dom/Document\0", "createProcessingInstruction\0", "(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/ProcessingInstruction;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [createAttribute](https://developer.android.com/reference/org/w3c/dom/Document.html#createAttribute(java.lang.String))
///
/// Required features: "java-lang-String", "org-w3c-dom-Attr"
#[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "org-w3c-dom-Attr")))]
pub fn createAttribute<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::w3c::dom::Attr>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "createAttribute", .descriptor == "(Ljava/lang/String;)Lorg/w3c/dom/Attr;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/w3c/dom/Document\0", "createAttribute\0", "(Ljava/lang/String;)Lorg/w3c/dom/Attr;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [createEntityReference](https://developer.android.com/reference/org/w3c/dom/Document.html#createEntityReference(java.lang.String))
///
/// Required features: "java-lang-String", "org-w3c-dom-EntityReference"
#[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "org-w3c-dom-EntityReference")))]
pub fn createEntityReference<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::w3c::dom::EntityReference>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "createEntityReference", .descriptor == "(Ljava/lang/String;)Lorg/w3c/dom/EntityReference;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/w3c/dom/Document\0", "createEntityReference\0", "(Ljava/lang/String;)Lorg/w3c/dom/EntityReference;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getElementsByTagName](https://developer.android.com/reference/org/w3c/dom/Document.html#getElementsByTagName(java.lang.String))
///
/// Required features: "java-lang-String", "org-w3c-dom-NodeList"
#[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "org-w3c-dom-NodeList")))]
pub fn getElementsByTagName<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::w3c::dom::NodeList>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "getElementsByTagName", .descriptor == "(Ljava/lang/String;)Lorg/w3c/dom/NodeList;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/w3c/dom/Document\0", "getElementsByTagName\0", "(Ljava/lang/String;)Lorg/w3c/dom/NodeList;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [importNode](https://developer.android.com/reference/org/w3c/dom/Document.html#importNode(org.w3c.dom.Node,%20boolean))
///
/// Required features: "org-w3c-dom-Node"
#[cfg(any(feature = "all", all(feature = "org-w3c-dom-Node")))]
pub fn importNode<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::w3c::dom::Node>>, arg1: bool) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::w3c::dom::Node>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "importNode", .descriptor == "(Lorg/w3c/dom/Node;Z)Lorg/w3c/dom/Node;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/w3c/dom/Document\0", "importNode\0", "(Lorg/w3c/dom/Node;Z)Lorg/w3c/dom/Node;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [createElementNS](https://developer.android.com/reference/org/w3c/dom/Document.html#createElementNS(java.lang.String,%20java.lang.String))
///
/// Required features: "java-lang-String", "org-w3c-dom-Element"
#[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "org-w3c-dom-Element")))]
pub fn createElementNS<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::w3c::dom::Element>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "createElementNS", .descriptor == "(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Element;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/w3c/dom/Document\0", "createElementNS\0", "(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Element;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [createAttributeNS](https://developer.android.com/reference/org/w3c/dom/Document.html#createAttributeNS(java.lang.String,%20java.lang.String))
///
/// Required features: "java-lang-String", "org-w3c-dom-Attr"
#[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "org-w3c-dom-Attr")))]
pub fn createAttributeNS<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::w3c::dom::Attr>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "createAttributeNS", .descriptor == "(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Attr;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/w3c/dom/Document\0", "createAttributeNS\0", "(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Attr;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getElementsByTagNameNS](https://developer.android.com/reference/org/w3c/dom/Document.html#getElementsByTagNameNS(java.lang.String,%20java.lang.String))
///
/// Required features: "java-lang-String", "org-w3c-dom-NodeList"
#[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "org-w3c-dom-NodeList")))]
pub fn getElementsByTagNameNS<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::w3c::dom::NodeList>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "getElementsByTagNameNS", .descriptor == "(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/NodeList;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/w3c/dom/Document\0", "getElementsByTagNameNS\0", "(Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/NodeList;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getElementById](https://developer.android.com/reference/org/w3c/dom/Document.html#getElementById(java.lang.String))
///
/// Required features: "java-lang-String", "org-w3c-dom-Element"
#[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "org-w3c-dom-Element")))]
pub fn getElementById<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::w3c::dom::Element>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "getElementById", .descriptor == "(Ljava/lang/String;)Lorg/w3c/dom/Element;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/w3c/dom/Document\0", "getElementById\0", "(Ljava/lang/String;)Lorg/w3c/dom/Element;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getInputEncoding](https://developer.android.com/reference/org/w3c/dom/Document.html#getInputEncoding())
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getInputEncoding<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "getInputEncoding", .descriptor == "()Ljava/lang/String;"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/w3c/dom/Document\0", "getInputEncoding\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getXmlEncoding](https://developer.android.com/reference/org/w3c/dom/Document.html#getXmlEncoding())
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getXmlEncoding<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "getXmlEncoding", .descriptor == "()Ljava/lang/String;"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/w3c/dom/Document\0", "getXmlEncoding\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getXmlStandalone](https://developer.android.com/reference/org/w3c/dom/Document.html#getXmlStandalone())
pub fn getXmlStandalone<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "getXmlStandalone", .descriptor == "()Z"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/w3c/dom/Document\0", "getXmlStandalone\0", "()Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setXmlStandalone](https://developer.android.com/reference/org/w3c/dom/Document.html#setXmlStandalone(boolean))
pub fn setXmlStandalone<'env>(&'env self, arg0: bool) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "setXmlStandalone", .descriptor == "(Z)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/w3c/dom/Document\0", "setXmlStandalone\0", "(Z)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getXmlVersion](https://developer.android.com/reference/org/w3c/dom/Document.html#getXmlVersion())
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getXmlVersion<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "getXmlVersion", .descriptor == "()Ljava/lang/String;"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/w3c/dom/Document\0", "getXmlVersion\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setXmlVersion](https://developer.android.com/reference/org/w3c/dom/Document.html#setXmlVersion(java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn setXmlVersion<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "setXmlVersion", .descriptor == "(Ljava/lang/String;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/w3c/dom/Document\0", "setXmlVersion\0", "(Ljava/lang/String;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getStrictErrorChecking](https://developer.android.com/reference/org/w3c/dom/Document.html#getStrictErrorChecking())
pub fn getStrictErrorChecking<'env>(&'env self) -> __jni_bindgen::std::result::Result<bool, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "getStrictErrorChecking", .descriptor == "()Z"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/w3c/dom/Document\0", "getStrictErrorChecking\0", "()Z\0");
__jni_env.call_boolean_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setStrictErrorChecking](https://developer.android.com/reference/org/w3c/dom/Document.html#setStrictErrorChecking(boolean))
pub fn setStrictErrorChecking<'env>(&'env self, arg0: bool) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "setStrictErrorChecking", .descriptor == "(Z)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0)];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/w3c/dom/Document\0", "setStrictErrorChecking\0", "(Z)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getDocumentURI](https://developer.android.com/reference/org/w3c/dom/Document.html#getDocumentURI())
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn getDocumentURI<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::java::lang::String>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "getDocumentURI", .descriptor == "()Ljava/lang/String;"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/w3c/dom/Document\0", "getDocumentURI\0", "()Ljava/lang/String;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [setDocumentURI](https://developer.android.com/reference/org/w3c/dom/Document.html#setDocumentURI(java.lang.String))
///
/// Required features: "java-lang-String"
#[cfg(any(feature = "all", all(feature = "java-lang-String")))]
pub fn setDocumentURI<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "setDocumentURI", .descriptor == "(Ljava/lang/String;)V"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/w3c/dom/Document\0", "setDocumentURI\0", "(Ljava/lang/String;)V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [adoptNode](https://developer.android.com/reference/org/w3c/dom/Document.html#adoptNode(org.w3c.dom.Node))
///
/// Required features: "org-w3c-dom-Node"
#[cfg(any(feature = "all", all(feature = "org-w3c-dom-Node")))]
pub fn adoptNode<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::w3c::dom::Node>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::w3c::dom::Node>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "adoptNode", .descriptor == "(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/w3c/dom/Document\0", "adoptNode\0", "(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [getDomConfig](https://developer.android.com/reference/org/w3c/dom/Document.html#getDomConfig())
///
/// Required features: "org-w3c-dom-DOMConfiguration"
#[cfg(any(feature = "all", all(feature = "org-w3c-dom-DOMConfiguration")))]
pub fn getDomConfig<'env>(&'env self) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::w3c::dom::DOMConfiguration>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "getDomConfig", .descriptor == "()Lorg/w3c/dom/DOMConfiguration;"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/w3c/dom/Document\0", "getDomConfig\0", "()Lorg/w3c/dom/DOMConfiguration;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [normalizeDocument](https://developer.android.com/reference/org/w3c/dom/Document.html#normalizeDocument())
pub fn normalizeDocument<'env>(&'env self) -> __jni_bindgen::std::result::Result<(), __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "normalizeDocument", .descriptor == "()V"
unsafe {
let __jni_args = [];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/w3c/dom/Document\0", "normalizeDocument\0", "()V\0");
__jni_env.call_void_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
/// [renameNode](https://developer.android.com/reference/org/w3c/dom/Document.html#renameNode(org.w3c.dom.Node,%20java.lang.String,%20java.lang.String))
///
/// Required features: "java-lang-String", "org-w3c-dom-Node"
#[cfg(any(feature = "all", all(feature = "java-lang-String", feature = "org-w3c-dom-Node")))]
pub fn renameNode<'env>(&'env self, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::org::w3c::dom::Node>>, arg1: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>, arg2: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::java::lang::String>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::org::w3c::dom::Node>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
// class.path == "org/w3c/dom/Document", java.flags == PUBLIC | ABSTRACT, .name == "renameNode", .descriptor == "(Lorg/w3c/dom/Node;Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Node;"
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into()), __jni_bindgen::AsJValue::as_jvalue(&arg1.into()), __jni_bindgen::AsJValue::as_jvalue(&arg2.into())];
let __jni_env = __jni_bindgen::Env::from_ptr(self.0.env);
let (__jni_class, __jni_method) = __jni_env.require_class_method("org/w3c/dom/Document\0", "renameNode\0", "(Lorg/w3c/dom/Node;Ljava/lang/String;Ljava/lang/String;)Lorg/w3c/dom/Node;\0");
__jni_env.call_object_method_a(self.0.object, __jni_method, __jni_args.as_ptr())
}
}
}
}