Struct qt_core::QXmlStreamEntityResolver
source · #[repr(C)]pub struct QXmlStreamEntityResolver { /* private fields */ }
Expand description
The QXmlStreamEntityResolver class provides an entity resolver for a QXmlStreamReader.
C++ class: QXmlStreamEntityResolver
.
The QXmlStreamEntityResolver class provides an entity resolver for a QXmlStreamReader.
Implementations§
source§impl QXmlStreamEntityResolver
impl QXmlStreamEntityResolver
sourcepub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<QXmlStreamEntityResolver>>
) -> Ref<QXmlStreamEntityResolver>
pub unsafe fn copy_from( &self, other: impl CastInto<Ref<QXmlStreamEntityResolver>> ) -> Ref<QXmlStreamEntityResolver>
The QXmlStreamEntityResolver class provides an entity resolver for a QXmlStreamReader.
Calls C++ function: QXmlStreamEntityResolver& QXmlStreamEntityResolver::operator=(const QXmlStreamEntityResolver& other)
.
The QXmlStreamEntityResolver class provides an entity resolver for a QXmlStreamReader.
sourcepub unsafe fn new() -> CppBox<QXmlStreamEntityResolver>
pub unsafe fn new() -> CppBox<QXmlStreamEntityResolver>
The QXmlStreamEntityResolver class provides an entity resolver for a QXmlStreamReader.
Calls C++ function: [constructor] void QXmlStreamEntityResolver::QXmlStreamEntityResolver()
.
The QXmlStreamEntityResolver class provides an entity resolver for a QXmlStreamReader.
sourcepub unsafe fn new_copy(
other: impl CastInto<Ref<QXmlStreamEntityResolver>>
) -> CppBox<QXmlStreamEntityResolver>
pub unsafe fn new_copy( other: impl CastInto<Ref<QXmlStreamEntityResolver>> ) -> CppBox<QXmlStreamEntityResolver>
The QXmlStreamEntityResolver class provides an entity resolver for a QXmlStreamReader.
Calls C++ function: [constructor] void QXmlStreamEntityResolver::QXmlStreamEntityResolver(const QXmlStreamEntityResolver& other)
.
The QXmlStreamEntityResolver class provides an entity resolver for a QXmlStreamReader.
sourcepub unsafe fn resolve_entity(
&self,
public_id: impl CastInto<Ref<QString>>,
system_id: impl CastInto<Ref<QString>>
) -> CppBox<QString>
pub unsafe fn resolve_entity( &self, public_id: impl CastInto<Ref<QString>>, system_id: impl CastInto<Ref<QString>> ) -> CppBox<QString>
Calls C++ function: virtual QString QXmlStreamEntityResolver::resolveEntity(const QString& publicId, const QString& systemId)
.
sourcepub unsafe fn resolve_undeclared_entity(
&self,
name: impl CastInto<Ref<QString>>
) -> CppBox<QString>
pub unsafe fn resolve_undeclared_entity( &self, name: impl CastInto<Ref<QString>> ) -> CppBox<QString>
Resolves the undeclared entity name and returns its replacement text. If the entity is also unknown to the entity resolver, it returns an empty string.
Calls C++ function: virtual QString QXmlStreamEntityResolver::resolveUndeclaredEntity(const QString& name)
.
Resolves the undeclared entity name and returns its replacement text. If the entity is also unknown to the entity resolver, it returns an empty string.
The default implementation always returns an empty string.