io.qt.xml.QXmlErrorHandler 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 report errors in XML data
* Java wrapper for Qt class QXmlErrorHandler
*/
@Deprecated
public interface QXmlErrorHandler extends QtObjectInterface
{
/**
* @hidden
* Implementor class for interface {@link io.qt.xml.QXmlErrorHandler}
*/
@Deprecated
public static abstract class Impl extends QtObject
implements io.qt.xml.QXmlErrorHandler
{
static {
QtJambi_LibraryUtilities.initialize();
}
@NativeAccess
private static final class ConcreteWrapper extends QXmlErrorHandler.Impl {
@NativeAccess
private ConcreteWrapper(QPrivateConstructor p) { super(p); }
@Override
@QtUninvokable
public boolean error(io.qt.xml.@NonNull QXmlParseException exception){
return error_native_cref_QXmlParseException(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(exception));
}
private native static boolean error_native_cref_QXmlParseException(long __this__nativeId, long exception);
@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 boolean fatalError(io.qt.xml.@NonNull QXmlParseException exception){
return fatalError_native_cref_QXmlParseException(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(exception));
}
private native static boolean fatalError_native_cref_QXmlParseException(long __this__nativeId, long exception);
@Override
@QtUninvokable
public boolean warning(io.qt.xml.@NonNull QXmlParseException exception){
return warning_native_cref_QXmlParseException(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(exception));
}
private native static boolean warning_native_cref_QXmlParseException(long __this__nativeId, long exception);
}
/**
* See QXmlErrorHandler:: QXmlErrorHandler()
*/
public Impl(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QXmlErrorHandler instance);
/**
* See QXmlErrorHandler:: error(QXmlParseException)
* @param exception
* @return
*/
@QtUninvokable
public abstract boolean error(io.qt.xml.@NonNull QXmlParseException exception);
private native static boolean error_native_cref_QXmlParseException(long __this__nativeId, long exception);
/**
* See QXmlErrorHandler:: errorString()const
* @return
*/
@QtUninvokable
public abstract java.lang.@NonNull String errorString();
private native static java.lang.String errorString_native_constfct(long __this__nativeId);
/**
* See QXmlErrorHandler:: fatalError(QXmlParseException)
* @param exception
* @return
*/
@QtUninvokable
public abstract boolean fatalError(io.qt.xml.@NonNull QXmlParseException exception);
private native static boolean fatalError_native_cref_QXmlParseException(long __this__nativeId, long exception);
/**
* See QXmlErrorHandler:: warning(QXmlParseException)
* @param exception
* @return
*/
@QtUninvokable
public abstract boolean warning(io.qt.xml.@NonNull QXmlParseException exception);
private native static boolean warning_native_cref_QXmlParseException(long __this__nativeId, long exception);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected Impl(QPrivateConstructor p) { super(p); }
}
/**
* See QXmlErrorHandler:: error(QXmlParseException)
* @param exception
* @return
*/
@QtUninvokable
public boolean error(io.qt.xml.@NonNull QXmlParseException exception);
/**
* See QXmlErrorHandler:: errorString()const
* @return
*/
@QtUninvokable
public java.lang.@NonNull String errorString();
/**
*
* @param exception
* @return
*/
@QtUninvokable
public boolean fatalError(io.qt.xml.@NonNull QXmlParseException exception);
/**
*
* @param exception
* @return
*/
@QtUninvokable
public boolean warning(io.qt.xml.@NonNull QXmlParseException exception);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy