[−]Struct jni_android_sys::org::xmlpull::v1::sax2::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]
__jni_env: &'env Env
) -> Result<Local<'env, Driver>, Local<'env, Throwable>>
pub fn new_XmlPullParser<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env XmlPullParser>>
) -> Result<Local<'env, Driver>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env XmlPullParser>>
) -> Result<Local<'env, Driver>, Local<'env, Throwable>>
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]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getLocalName<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getQName<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getType_int<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getValue_int<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getIndex_String<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getPublicId<'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 getSystemId<'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 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]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn setFeature<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: bool
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Object>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env EntityResolver>>
) -> Result<(), Local<'env, Throwable>>
Required features: "org-xml-sax-EntityResolver"
pub fn getEntityResolver<'env>(
&'env self
) -> Result<Option<Local<'env, EntityResolver>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, EntityResolver>>, Local<'env, Throwable>>
Required features: "org-xml-sax-EntityResolver"
pub fn setDTDHandler<'env>(
&'env self,
arg0: impl Into<Option<&'env DTDHandler>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env DTDHandler>>
) -> Result<(), Local<'env, Throwable>>
Required features: "org-xml-sax-DTDHandler"
pub fn getDTDHandler<'env>(
&'env self
) -> Result<Option<Local<'env, DTDHandler>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, DTDHandler>>, Local<'env, Throwable>>
Required features: "org-xml-sax-DTDHandler"
pub fn setContentHandler<'env>(
&'env self,
arg0: impl Into<Option<&'env ContentHandler>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ContentHandler>>
) -> Result<(), Local<'env, Throwable>>
Required features: "org-xml-sax-ContentHandler"
pub fn getContentHandler<'env>(
&'env self
) -> Result<Option<Local<'env, ContentHandler>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ContentHandler>>, Local<'env, Throwable>>
Required features: "org-xml-sax-ContentHandler"
pub fn setErrorHandler<'env>(
&'env self,
arg0: impl Into<Option<&'env ErrorHandler>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ErrorHandler>>
) -> Result<(), Local<'env, Throwable>>
Required features: "org-xml-sax-ErrorHandler"
pub fn getErrorHandler<'env>(
&'env self
) -> Result<Option<Local<'env, ErrorHandler>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ErrorHandler>>, Local<'env, Throwable>>
Required features: "org-xml-sax-ErrorHandler"
pub fn parse_InputSource<'env>(
&'env self,
arg0: impl Into<Option<&'env InputSource>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env InputSource>>
) -> Result<(), Local<'env, Throwable>>
Required features: "org-xml-sax-InputSource"
pub fn parse_String<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn parseSubTree<'env>(
&'env self,
arg0: impl Into<Option<&'env XmlPullParser>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env XmlPullParser>>
) -> Result<(), Local<'env, Throwable>>
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]
&'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 Driver
impl AsRef<Attributes> for Driver
fn as_ref(&self) -> &Attributes
impl AsRef<Locator> for Driver
impl AsRef<XMLReader> for Driver
impl AsValidJObjectAndEnv for Driver
impl Deref for Driver
impl JniType for Driver
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
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]
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>,