[]Struct jni_android_sys::org::xml::sax::ext::Locator2Impl

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

public class Locator2Impl

Required feature: "org-xml-sax-ext-Locator2Impl"

Methods

impl Locator2Impl

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

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

Locator2Impl

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

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

getXMLVersion

Required features: "java-lang-String"

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

getEncoding

Required features: "java-lang-String"

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

setXMLVersion

Required features: "java-lang-String"

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

setEncoding

Required features: "java-lang-String"

Methods from Deref<Target = LocatorImpl>

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

setPublicId

Required features: "java-lang-String"

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

setSystemId

Required features: "java-lang-String"

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

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

Trait Implementations

impl AsJValue for Locator2Impl

impl AsRef<Locator2> for Locator2Impl

impl AsValidJObjectAndEnv for Locator2Impl

impl Deref for Locator2Impl

type Target = LocatorImpl

The resulting type after dereferencing.

impl JniType for Locator2Impl

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.