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

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

public interface Node

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

Methods

impl Node

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

getNodeName

Required features: "java-lang-String"

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

getNodeValue

Required features: "java-lang-String"

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

setNodeValue

Required features: "java-lang-String"

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

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

getParentNode

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

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

getChildNodes

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

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

getFirstChild

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

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

getLastChild

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

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

getPreviousSibling

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

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

getNextSibling

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

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

getAttributes

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

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

getOwnerDocument

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

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

insertBefore

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

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

replaceChild

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

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

removeChild

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

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

appendChild

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

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

pub fn cloneNode<'env>(
    &'env self,
    arg0: bool
) -> Result<Option<Local<'env, Node>>, Local<'env, Throwable>>
[src]

cloneNode

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

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

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

isSupported

Required features: "java-lang-String"

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

getNamespaceURI

Required features: "java-lang-String"

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

getPrefix

Required features: "java-lang-String"

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

setPrefix

Required features: "java-lang-String"

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

getLocalName

Required features: "java-lang-String"

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

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

getBaseURI

Required features: "java-lang-String"

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

compareDocumentPosition

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

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

getTextContent

Required features: "java-lang-String"

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

setTextContent

Required features: "java-lang-String"

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

isSameNode

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

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

lookupPrefix

Required features: "java-lang-String"

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

isDefaultNamespace

Required features: "java-lang-String"

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

lookupNamespaceURI

Required features: "java-lang-String"

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

isEqualNode

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

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

getFeature

Required features: "java-lang-Object", "java-lang-String"

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

setUserData

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

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

getUserData

Required features: "java-lang-Object", "java-lang-String"

pub const ATTRIBUTE_NODE: i16[src]

public static final ATTRIBUTE_NODE

pub const CDATA_SECTION_NODE: i16[src]

public static final CDATA_SECTION_NODE

pub const COMMENT_NODE: i16[src]

public static final COMMENT_NODE

pub const DOCUMENT_FRAGMENT_NODE: i16[src]

public static final DOCUMENT_FRAGMENT_NODE

pub const DOCUMENT_NODE: i16[src]

public static final DOCUMENT_NODE

pub const DOCUMENT_POSITION_CONTAINED_BY: i16[src]

public static final DOCUMENT_POSITION_CONTAINED_BY

pub const DOCUMENT_POSITION_CONTAINS: i16[src]

public static final DOCUMENT_POSITION_CONTAINS

pub const DOCUMENT_POSITION_DISCONNECTED: i16[src]

public static final DOCUMENT_POSITION_DISCONNECTED

pub const DOCUMENT_POSITION_FOLLOWING: i16[src]

public static final DOCUMENT_POSITION_FOLLOWING

pub const DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: i16[src]

pub const DOCUMENT_POSITION_PRECEDING: i16[src]

public static final DOCUMENT_POSITION_PRECEDING

pub const DOCUMENT_TYPE_NODE: i16[src]

public static final DOCUMENT_TYPE_NODE

pub const ELEMENT_NODE: i16[src]

public static final ELEMENT_NODE

pub const ENTITY_NODE: i16[src]

public static final ENTITY_NODE

pub const ENTITY_REFERENCE_NODE: i16[src]

public static final ENTITY_REFERENCE_NODE

pub const NOTATION_NODE: i16[src]

public static final NOTATION_NODE

pub const PROCESSING_INSTRUCTION_NODE: i16[src]

public static final PROCESSING_INSTRUCTION_NODE

pub const TEXT_NODE: i16[src]

public static final TEXT_NODE

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 Node

impl AsRef<Node> for Attr

impl AsRef<Node> for CharacterData

impl AsRef<Node> for Document

impl AsRef<Node> for DocumentFragment

impl AsRef<Node> for DocumentType

impl AsRef<Node> for Element

impl AsRef<Node> for Entity

impl AsRef<Node> for EntityReference

impl AsRef<Node> for Notation

impl AsRef<Node> for ProcessingInstruction

impl AsValidJObjectAndEnv for Node

impl Deref for Node

type Target = Object

The resulting type after dereferencing.

impl JniType for Node

Auto Trait Implementations

impl RefUnwindSafe for Node

impl !Send for Node

impl !Sync for Node

impl Unpin for Node

impl UnwindSafe for Node

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.