[]Struct jni_android_sys::org::w3c::dom::Element

#[repr(transparent)]
pub struct Element(_);

public interface Element

Required feature: "org-w3c-dom-Element"

Methods

impl Element

pub fn getTagName<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getTagName

Required features: "java-lang-String"

pub fn getAttribute<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getAttribute

Required features: "java-lang-String"

pub fn setAttribute<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

setAttribute

Required features: "java-lang-String"

pub fn removeAttribute<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

removeAttribute

Required features: "java-lang-String"

pub fn getAttributeNode<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Attr>>, Local<'env, Throwable>>
[src]

getAttributeNode

Required features: "java-lang-String", "org-w3c-dom-Attr"

pub fn setAttributeNode<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Attr>>
) -> Result<Option<Local<'env, Attr>>, Local<'env, Throwable>>
[src]

setAttributeNode

Required features: "org-w3c-dom-Attr"

pub fn removeAttributeNode<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Attr>>
) -> Result<Option<Local<'env, Attr>>, Local<'env, Throwable>>
[src]

removeAttributeNode

Required features: "org-w3c-dom-Attr"

pub fn getElementsByTagName<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, NodeList>>, Local<'env, Throwable>>
[src]

getElementsByTagName

Required features: "java-lang-String", "org-w3c-dom-NodeList"

pub fn getAttributeNS<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getAttributeNS

Required features: "java-lang-String"

pub fn setAttributeNS<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

setAttributeNS

Required features: "java-lang-String"

pub fn removeAttributeNS<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

removeAttributeNS

Required features: "java-lang-String"

pub fn getAttributeNodeNS<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Attr>>, Local<'env, Throwable>>
[src]

getAttributeNodeNS

Required features: "java-lang-String", "org-w3c-dom-Attr"

pub fn setAttributeNodeNS<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Attr>>
) -> Result<Option<Local<'env, Attr>>, Local<'env, Throwable>>
[src]

setAttributeNodeNS

Required features: "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]

getElementsByTagNameNS

Required features: "java-lang-String", "org-w3c-dom-NodeList"

pub fn hasAttribute<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]

hasAttribute

Required features: "java-lang-String"

pub fn hasAttributeNS<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]

hasAttributeNS

Required features: "java-lang-String"

pub fn getSchemaTypeInfo<'env>(
    &'env self
) -> Result<Option<Local<'env, TypeInfo>>, Local<'env, Throwable>>
[src]

getSchemaTypeInfo

Required features: "org-w3c-dom-TypeInfo"

pub fn setIdAttribute<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]

setIdAttribute

Required features: "java-lang-String"

pub fn setIdAttributeNS<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: bool
) -> Result<(), Local<'env, Throwable>>
[src]

setIdAttributeNS

Required features: "java-lang-String"

pub fn setIdAttributeNode<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Attr>>,
    arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]

setIdAttributeNode

Required features: "org-w3c-dom-Attr"

Methods from Deref<Target = Object>

pub fn getClass<'env>(
    &'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]

getClass

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]

equals

Required features: "java-lang-Object"

pub fn toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

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]

pub fn wait_long_int<'env>(
    &'env self,
    arg0: i64,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

Trait Implementations

impl AsJValue for Element

impl AsRef<Node> for Element

impl AsValidJObjectAndEnv for Element

impl Deref for Element

type Target = Object

The resulting type after dereferencing.

impl JniType for Element

Auto Trait Implementations

impl RefUnwindSafe for Element

impl !Send for Element

impl !Sync for Element

impl Unpin for Element

impl UnwindSafe for Element

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.