[]Struct jni_android_sys::android::util::Xml

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

public class Xml

Required feature: "android-util-Xml"

Methods

impl Xml

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

parse

Required features: "java-lang-String", "org-xml-sax-ContentHandler"

pub fn parse_Reader_ContentHandler<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Reader>>,
    arg1: impl Into<Option<&'env ContentHandler>>
) -> Result<(), Local<'env, Throwable>>
[src]

parse

Required features: "java-io-Reader", "org-xml-sax-ContentHandler"

pub fn parse_InputStream_Encoding_ContentHandler<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env InputStream>>,
    arg1: impl Into<Option<&'env Xml_Encoding>>,
    arg2: impl Into<Option<&'env ContentHandler>>
) -> Result<(), Local<'env, Throwable>>
[src]

parse

Required features: "android-util-Xml_Encoding", "java-io-InputStream", "org-xml-sax-ContentHandler"

pub fn newPullParser<'env>(
    __jni_env: &'env Env
) -> Result<Option<Local<'env, XmlPullParser>>, Local<'env, Throwable>>
[src]

newPullParser

Required features: "org-xmlpull-v1-XmlPullParser"

pub fn newSerializer<'env>(
    __jni_env: &'env Env
) -> Result<Option<Local<'env, XmlSerializer>>, Local<'env, Throwable>>
[src]

newSerializer

Required features: "org-xmlpull-v1-XmlSerializer"

pub fn findEncodingByName<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Xml_Encoding>>, Local<'env, Throwable>>
[src]

findEncodingByName

Required features: "android-util-Xml_Encoding", "java-lang-String"

pub fn asAttributeSet<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env XmlPullParser>>
) -> Result<Option<Local<'env, AttributeSet>>, Local<'env, Throwable>>
[src]

asAttributeSet

Required features: "android-util-AttributeSet", "org-xmlpull-v1-XmlPullParser"

pub fn FEATURE_RELAXED<'env>(env: &'env Env) -> Option<Local<'env, String>>[src]

get public static FEATURE_RELAXED

Required feature: "java-lang-String"

pub fn set_FEATURE_RELAXED<'env, 'obj>(
    env: &'env Env,
    value: impl Into<Option<&'obj String>>
)
[src]

set public static FEATURE_RELAXED

Required feature: "java-lang-String"

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 Xml

impl AsValidJObjectAndEnv for Xml

impl Deref for Xml

type Target = Object

The resulting type after dereferencing.

impl JniType for Xml

Auto Trait Implementations

impl RefUnwindSafe for Xml

impl !Send for Xml

impl !Sync for Xml

impl Unpin for Xml

impl UnwindSafe for Xml

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.