[]Struct jni_android_sys::org::xmlpull::v1::XmlSerializer

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

public interface XmlSerializer

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

Methods

impl XmlSerializer

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

setFeature

Required features: "java-lang-String"

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

getFeature

Required features: "java-lang-String"

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

setProperty

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

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

getProperty

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

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

setOutput

Required features: "java-io-OutputStream", "java-lang-String"

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

setOutput

Required features: "java-io-Writer"

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

startDocument

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

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

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

setPrefix

Required features: "java-lang-String"

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

getPrefix

Required features: "java-lang-String"

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

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

getNamespace

Required features: "java-lang-String"

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

getName

Required features: "java-lang-String"

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

startTag

Required features: "java-lang-String", "org-xmlpull-v1-XmlSerializer"

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

attribute

Required features: "java-lang-String", "org-xmlpull-v1-XmlSerializer"

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

endTag

Required features: "java-lang-String", "org-xmlpull-v1-XmlSerializer"

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

text

Required features: "java-lang-String", "org-xmlpull-v1-XmlSerializer"

pub fn text_char_array_int_int<'env>(
    &'env self,
    arg0: impl Into<Option<&'env CharArray>>,
    arg1: i32,
    arg2: i32
) -> Result<Option<Local<'env, XmlSerializer>>, Local<'env, Throwable>>
[src]

text

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

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

cdsect

Required features: "java-lang-String"

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

entityRef

Required features: "java-lang-String"

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

processingInstruction

Required features: "java-lang-String"

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

comment

Required features: "java-lang-String"

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

docdecl

Required features: "java-lang-String"

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

ignorableWhitespace

Required features: "java-lang-String"

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

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 XmlSerializer

impl AsValidJObjectAndEnv for XmlSerializer

impl Deref for XmlSerializer

type Target = Object

The resulting type after dereferencing.

impl JniType for XmlSerializer

Auto Trait Implementations

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.