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

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

public class DefaultHandler2

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

Methods

impl DefaultHandler2

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

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

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

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

startDTD

Required features: "java-lang-String"

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

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

startEntity

Required features: "java-lang-String"

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

endEntity

Required features: "java-lang-String"

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

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

attributeDecl

Required features: "java-lang-String"

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

elementDecl

Required features: "java-lang-String"

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

externalEntityDecl

Required features: "java-lang-String"

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

internalEntityDecl

Required features: "java-lang-String"

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

getExternalSubset

Required features: "java-lang-String", "org-xml-sax-InputSource"

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

resolveEntity

Required features: "java-lang-String", "org-xml-sax-InputSource"

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

resolveEntity

Required features: "java-lang-String", "org-xml-sax-InputSource"

Methods from Deref<Target = DefaultHandler>

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

resolveEntity

Required features: "java-lang-String", "org-xml-sax-InputSource"

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

notationDecl

Required features: "java-lang-String"

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

unparsedEntityDecl

Required features: "java-lang-String"

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

setDocumentLocator

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

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

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

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

startPrefixMapping

Required features: "java-lang-String"

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

endPrefixMapping

Required features: "java-lang-String"

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

startElement

Required features: "java-lang-String", "org-xml-sax-Attributes"

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

endElement

Required features: "java-lang-String"

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

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

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

processingInstruction

Required features: "java-lang-String"

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

skippedEntity

Required features: "java-lang-String"

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

warning

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

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

error

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

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

fatalError

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

Trait Implementations

impl AsJValue for DefaultHandler2

impl AsRef<DeclHandler> for DefaultHandler2

impl AsRef<EntityResolver2> for DefaultHandler2

impl AsRef<LexicalHandler> for DefaultHandler2

impl AsValidJObjectAndEnv for DefaultHandler2

impl Deref for DefaultHandler2

type Target = DefaultHandler

The resulting type after dereferencing.

impl JniType for DefaultHandler2

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.