[]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 set_feature<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: bool
) -> Result<()>
[src]

setFeature

Required features: "java-lang-String"

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

getFeature

Required features: "java-lang-String"

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

setProperty

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

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

getProperty

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

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

setOutput

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

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

setOutput

Required features: "java-io-Writer"

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

startDocument

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

pub fn end_document<'env>(&'env self) -> Result<()>[src]

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

setPrefix

Required features: "java-lang-String"

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

getPrefix

Required features: "java-lang-String"

pub fn get_depth<'env>(&'env self) -> Result<i32>[src]

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

getNamespace

Required features: "java-lang-String"

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

getName

Required features: "java-lang-String"

pub fn start_tag<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, XmlSerializer>>>
[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>>>
[src]

attribute

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

pub fn end_tag<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, XmlSerializer>>>
[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>>>
[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>>>
[src]

text

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

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

cdsect

Required features: "java-lang-String"

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

entityRef

Required features: "java-lang-String"

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

processingInstruction

Required features: "java-lang-String"

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

comment

Required features: "java-lang-String"

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

docdecl

Required features: "java-lang-String"

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

ignorableWhitespace

Required features: "java-lang-String"

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

Methods from Deref<Target = Object>

pub fn get_class<'env>(&'env self) -> Result<Option<Local<'env, Class>>>[src]

getClass

Required features: "java-lang-Class"

pub fn hash_code<'env>(&'env self) -> Result<i32>[src]

pub fn equals<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
[src]

equals

Required features: "java-lang-Object"

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

toString

Required features: "java-lang-String"

pub fn notify<'env>(&'env self) -> Result<()>[src]

pub fn notify_all<'env>(&'env self) -> Result<()>[src]

pub fn wait_long<'env>(&'env self, arg0: i64) -> Result<()>[src]

pub fn wait_long_int<'env>(&'env self, arg0: i64, arg1: i32) -> Result<()>[src]

pub fn wait<'env>(&'env self) -> Result<()>[src]

Trait Implementations

impl Deref for XmlSerializer

type Target = Object

The resulting type after dereferencing.

impl AsValidJObjectAndEnv for XmlSerializer

impl AsJValue for XmlSerializer

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for 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.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]