io.qt.xml.QXmlEntityResolver Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi-xml Show documentation
Show all versions of qtjambi-xml Show documentation
C++ implementations of SAX and DOM.
package io.qt.xml;
import io.qt.*;
/**
* Interface to resolve external entities contained in XML data
* Java wrapper for Qt class QXmlEntityResolver
*/
@Deprecated
public interface QXmlEntityResolver extends QtObjectInterface
{
/**
* @hidden
* Implementor class for interface {@link io.qt.xml.QXmlEntityResolver}
*/
@Deprecated
public static abstract class Impl extends QtObject
implements io.qt.xml.QXmlEntityResolver
{
static {
QtJambi_LibraryUtilities.initialize();
}
@NativeAccess
private static final class ConcreteWrapper extends QXmlEntityResolver.Impl {
@NativeAccess
private ConcreteWrapper(QPrivateConstructor p) { super(p); }
@Override
@QtUninvokable
public java.lang.@NonNull String errorString(){
return errorString_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static java.lang.String errorString_native_constfct(long __this__nativeId);
@Override
@QtUninvokable
public io.qt.xml.QXmlEntityResolver.@StrictNonNull ResolvedEntity resolveEntity(java.lang.@NonNull String publicId, java.lang.@NonNull String systemId){
return resolveEntity_native_cref_QString_cref_QString_ref_QXmlInputSource_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), publicId, systemId);
}
private native static io.qt.xml.QXmlEntityResolver.ResolvedEntity resolveEntity_native_cref_QString_cref_QString_ref_QXmlInputSource_ptr(long __this__nativeId, java.lang.String publicId, java.lang.String systemId);
}
/**
* See QXmlEntityResolver:: QXmlEntityResolver()
*/
public Impl(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QXmlEntityResolver instance);
/**
* See QXmlEntityResolver:: errorString()const
*/
@QtUninvokable
public abstract java.lang.@NonNull String errorString();
private native static java.lang.String errorString_native_constfct(long __this__nativeId);
/**
* See QXmlEntityResolver:: resolveEntity(QString, QString, QXmlInputSource&*)
*/
@QtUninvokable
public abstract io.qt.xml.QXmlEntityResolver.@StrictNonNull ResolvedEntity resolveEntity(java.lang.@NonNull String publicId, java.lang.@NonNull String systemId);
private native static io.qt.xml.QXmlEntityResolver.ResolvedEntity resolveEntity_native_cref_QString_cref_QString_ref_QXmlInputSource_ptr(long __this__nativeId, java.lang.String publicId, java.lang.String systemId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected Impl(QPrivateConstructor p) { super(p); }
}
/**
* See QXmlEntityResolver:: errorString()const
*/
@QtUninvokable
public java.lang.@NonNull String errorString();
/**
* See QXmlEntityResolver:: resolveEntity(QString, QString, QXmlInputSource*&)
*/
@QtUninvokable
public io.qt.xml.QXmlEntityResolver.@StrictNonNull ResolvedEntity resolveEntity(java.lang.@NonNull String publicId, java.lang.@NonNull String systemId);
public static final class ResolvedEntity {
public final @NativeAccess boolean error;
public final @NativeAccess QXmlInputSource inputSource;
@NativeAccess
public ResolvedEntity(boolean error, QXmlInputSource inputSource) {
this.error = error;
this.inputSource = inputSource;
}
}
}