[−]Struct jni_android_sys::org::w3c::dom::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]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getNodeValue<'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 setNodeValue<'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 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]
&'env self
) -> Result<Option<Local<'env, Node>>, Local<'env, Throwable>>
Required features: "org-w3c-dom-Node"
pub fn getChildNodes<'env>(
&'env self
) -> Result<Option<Local<'env, NodeList>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, NodeList>>, Local<'env, Throwable>>
Required features: "org-w3c-dom-NodeList"
pub fn getFirstChild<'env>(
&'env self
) -> Result<Option<Local<'env, Node>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Node>>, Local<'env, Throwable>>
Required features: "org-w3c-dom-Node"
pub fn getLastChild<'env>(
&'env self
) -> Result<Option<Local<'env, Node>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Node>>, Local<'env, Throwable>>
Required features: "org-w3c-dom-Node"
pub fn getPreviousSibling<'env>(
&'env self
) -> Result<Option<Local<'env, Node>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Node>>, Local<'env, Throwable>>
Required features: "org-w3c-dom-Node"
pub fn getNextSibling<'env>(
&'env self
) -> Result<Option<Local<'env, Node>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Node>>, Local<'env, Throwable>>
Required features: "org-w3c-dom-Node"
pub fn getAttributes<'env>(
&'env self
) -> Result<Option<Local<'env, NamedNodeMap>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, NamedNodeMap>>, Local<'env, Throwable>>
Required features: "org-w3c-dom-NamedNodeMap"
pub fn getOwnerDocument<'env>(
&'env self
) -> Result<Option<Local<'env, Document>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Document>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Node>>,
arg1: impl Into<Option<&'env Node>>
) -> Result<Option<Local<'env, Node>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Node>>,
arg1: impl Into<Option<&'env Node>>
) -> Result<Option<Local<'env, Node>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Node>>
) -> Result<Option<Local<'env, Node>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Node>>
) -> Result<Option<Local<'env, Node>>, Local<'env, Throwable>>
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]
&'env self,
arg0: bool
) -> Result<Option<Local<'env, Node>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getNamespaceURI<'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 getPrefix<'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 setPrefix<'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 getLocalName<'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 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]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn compareDocumentPosition<'env>(
&'env self,
arg0: impl Into<Option<&'env Node>>
) -> Result<i16, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Node>>
) -> Result<i16, Local<'env, Throwable>>
Required features: "org-w3c-dom-Node"
pub fn getTextContent<'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 setTextContent<'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 isSameNode<'env>(
&'env self,
arg0: impl Into<Option<&'env Node>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Node>>
) -> Result<bool, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn isDefaultNamespace<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn isEqualNode<'env>(
&'env self,
arg0: impl Into<Option<&'env Node>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Node>>
) -> Result<bool, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
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]
&'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>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
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]
public static final DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
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]
&'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 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
impl JniType for Node
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
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]
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>,