[−]Struct jni_android_sys::android::util::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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ContentHandler>>
) -> Result<(), Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Reader>>,
arg1: impl Into<Option<&'env ContentHandler>>
) -> Result<(), Local<'env, Throwable>>
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]
__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>>
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]
__jni_env: &'env Env
) -> Result<Option<Local<'env, XmlPullParser>>, Local<'env, Throwable>>
Required features: "org-xmlpull-v1-XmlPullParser"
pub fn newSerializer<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, XmlSerializer>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, XmlSerializer>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Xml_Encoding>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env XmlPullParser>>
) -> Result<Option<Local<'env, AttributeSet>>, Local<'env, Throwable>>
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]
env: &'env Env,
value: impl Into<Option<&'obj String>>
)
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]
&'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 Xml
impl AsValidJObjectAndEnv for Xml
impl Deref for Xml
impl JniType for Xml
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
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]
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>,