[−]Struct jni_android_sys::org::w3c::dom::Document
public interface Document
Required feature: "org-w3c-dom-Document"
Methods
impl Document
pub fn getDoctype<'env>(
&'env self
) -> Result<Option<Local<'env, DocumentType>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, DocumentType>>, Local<'env, Throwable>>
Required features: "org-w3c-dom-DocumentType"
pub fn getImplementation<'env>(
&'env self
) -> Result<Option<Local<'env, DOMImplementation>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, DOMImplementation>>, Local<'env, Throwable>>
Required features: "org-w3c-dom-DOMImplementation"
pub fn getDocumentElement<'env>(
&'env self
) -> Result<Option<Local<'env, Element>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Element>>, Local<'env, Throwable>>
Required features: "org-w3c-dom-Element"
pub fn createElement<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Element>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Element>>, Local<'env, Throwable>>
Required features: "java-lang-String", "org-w3c-dom-Element"
pub fn createDocumentFragment<'env>(
&'env self
) -> Result<Option<Local<'env, DocumentFragment>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, DocumentFragment>>, Local<'env, Throwable>>
Required features: "org-w3c-dom-DocumentFragment"
pub fn createTextNode<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Text>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Text>>, Local<'env, Throwable>>
Required features: "java-lang-String", "org-w3c-dom-Text"
pub fn createComment<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Comment>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Comment>>, Local<'env, Throwable>>
Required features: "java-lang-String", "org-w3c-dom-Comment"
pub fn createCDATASection<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, CDATASection>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, CDATASection>>, Local<'env, Throwable>>
Required features: "java-lang-String", "org-w3c-dom-CDATASection"
pub fn createProcessingInstruction<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, ProcessingInstruction>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, ProcessingInstruction>>, Local<'env, Throwable>>
Required features: "java-lang-String", "org-w3c-dom-ProcessingInstruction"
pub fn createAttribute<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Attr>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Attr>>, Local<'env, Throwable>>
Required features: "java-lang-String", "org-w3c-dom-Attr"
pub fn createEntityReference<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, EntityReference>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, EntityReference>>, Local<'env, Throwable>>
Required features: "java-lang-String", "org-w3c-dom-EntityReference"
pub fn getElementsByTagName<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, NodeList>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, NodeList>>, Local<'env, Throwable>>
Required features: "java-lang-String", "org-w3c-dom-NodeList"
pub fn importNode<'env>(
&'env self,
arg0: impl Into<Option<&'env Node>>,
arg1: bool
) -> Result<Option<Local<'env, Node>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Node>>,
arg1: bool
) -> Result<Option<Local<'env, Node>>, Local<'env, Throwable>>
Required features: "org-w3c-dom-Node"
pub fn createElementNS<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Element>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Element>>, Local<'env, Throwable>>
Required features: "java-lang-String", "org-w3c-dom-Element"
pub fn createAttributeNS<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Attr>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Attr>>, Local<'env, Throwable>>
Required features: "java-lang-String", "org-w3c-dom-Attr"
pub fn getElementsByTagNameNS<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, NodeList>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, NodeList>>, Local<'env, Throwable>>
Required features: "java-lang-String", "org-w3c-dom-NodeList"
pub fn getElementById<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Element>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Element>>, Local<'env, Throwable>>
Required features: "java-lang-String", "org-w3c-dom-Element"
pub fn getInputEncoding<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getXmlEncoding<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getXmlStandalone<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setXmlStandalone<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getXmlVersion<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn setXmlVersion<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getStrictErrorChecking<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setStrictErrorChecking<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getDocumentURI<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn setDocumentURI<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn adoptNode<'env>(
&'env self,
arg0: impl Into<Option<&'env Node>>
) -> Result<Option<Local<'env, Node>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Node>>
) -> Result<Option<Local<'env, Node>>, Local<'env, Throwable>>
Required features: "org-w3c-dom-Node"
pub fn getDomConfig<'env>(
&'env self
) -> Result<Option<Local<'env, DOMConfiguration>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, DOMConfiguration>>, Local<'env, Throwable>>
Required features: "org-w3c-dom-DOMConfiguration"
pub fn normalizeDocument<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn renameNode<'env>(
&'env self,
arg0: impl Into<Option<&'env Node>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Node>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Node>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Node>>, Local<'env, Throwable>>
Required features: "java-lang-String", "org-w3c-dom-Node"
Methods from Deref<Target = Object>
pub fn getClass<'env>(
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
Required features: "java-lang-Class"
pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn notify<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn notifyAll<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn wait_long<'env>(
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Trait Implementations
impl AsJValue for Document
impl AsRef<Node> for Document
impl AsValidJObjectAndEnv for Document
impl Deref for Document
impl JniType for Document
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for Document
impl !Send for Document
impl !Sync for Document
impl Unpin for Document
impl UnwindSafe for Document
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,