[]Struct jni_android_sys::org::xmlpull::v1::sax2::Driver

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

public class Driver

Required feature: "org-xmlpull-v1-sax2-Driver"

Methods

impl Driver

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

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

Driver

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

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

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

getURI

Required features: "java-lang-String"

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

getLocalName

Required features: "java-lang-String"

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

getQName

Required features: "java-lang-String"

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

getType

Required features: "java-lang-String"

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

getValue

Required features: "java-lang-String"

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

getIndex

Required features: "java-lang-String"

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

getIndex

Required features: "java-lang-String"

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

getType

Required features: "java-lang-String"

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

getType

Required features: "java-lang-String"

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

getValue

Required features: "java-lang-String"

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

getValue

Required features: "java-lang-String"

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

getPublicId

Required features: "java-lang-String"

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

getSystemId

Required features: "java-lang-String"

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

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

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 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 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 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 setEntityResolver<'env>(
    &'env self,
    arg0: impl Into<Option<&'env EntityResolver>>
) -> Result<(), Local<'env, Throwable>>
[src]

setEntityResolver

Required features: "org-xml-sax-EntityResolver"

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

getEntityResolver

Required features: "org-xml-sax-EntityResolver"

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

setDTDHandler

Required features: "org-xml-sax-DTDHandler"

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

getDTDHandler

Required features: "org-xml-sax-DTDHandler"

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

setContentHandler

Required features: "org-xml-sax-ContentHandler"

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

getContentHandler

Required features: "org-xml-sax-ContentHandler"

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

setErrorHandler

Required features: "org-xml-sax-ErrorHandler"

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

getErrorHandler

Required features: "org-xml-sax-ErrorHandler"

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

parse

Required features: "org-xml-sax-InputSource"

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

parse

Required features: "java-lang-String"

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

parseSubTree

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

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 Driver

impl AsRef<Attributes> for Driver

impl AsRef<Locator> for Driver

impl AsRef<XMLReader> for Driver

impl AsValidJObjectAndEnv for Driver

impl Deref for Driver

type Target = Object

The resulting type after dereferencing.

impl JniType for Driver

Auto Trait Implementations

impl RefUnwindSafe for Driver

impl !Send for Driver

impl !Sync for Driver

impl Unpin for Driver

impl UnwindSafe for Driver

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.