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

#[repr(transparent)]
pub struct 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]

getDoctype

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

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

getImplementation

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

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

getDocumentElement

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]

createElement

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

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

createDocumentFragment

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]

createTextNode

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]

createComment

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]

createCDATASection

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]

createProcessingInstruction

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]

createAttribute

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]

createEntityReference

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]

getElementsByTagName

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]

importNode

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]

createElementNS

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]

createAttributeNS

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]

getElementsByTagNameNS

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]

getElementById

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

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

getInputEncoding

Required features: "java-lang-String"

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

getXmlEncoding

Required features: "java-lang-String"

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

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

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

getXmlVersion

Required features: "java-lang-String"

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

setXmlVersion

Required features: "java-lang-String"

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

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

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

getDocumentURI

Required features: "java-lang-String"

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

setDocumentURI

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]

adoptNode

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

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

getDomConfig

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]

renameNode

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]

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 Document

impl AsRef<Node> for Document

impl AsValidJObjectAndEnv for Document

impl Deref for Document

type Target = Object

The resulting type after dereferencing.

impl JniType for Document

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]

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.