io.qt.xml.QXmlParseException Maven / Gradle / Ivy
Show all versions of qtjambi-xml Show documentation
package io.qt.xml;
import io.qt.*;
/**
* Used to report errors with the QXmlErrorHandler interface
* Java wrapper for Qt class QXmlParseException
*/
@Deprecated
public class QXmlParseException extends QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QXmlParseException:: QXmlParseException(QString, int, int, QString, QString)
* @param name
* @param c
* @param l
* @param p
* @param s
*/
public QXmlParseException(java.lang.@NonNull String name, int c, int l, java.lang.@NonNull String p, java.lang.@NonNull String s){
super((QPrivateConstructor)null);
initialize_native(this, name, c, l, p, s);
}
private native static void initialize_native(QXmlParseException instance, java.lang.String name, int c, int l, java.lang.String p, java.lang.String s);
/**
* See QXmlParseException:: QXmlParseException(QXmlParseException)
* @param other
*/
public QXmlParseException(io.qt.xml.@NonNull QXmlParseException other){
super((QPrivateConstructor)null);
initialize_native(this, other);
}
private native static void initialize_native(QXmlParseException instance, io.qt.xml.QXmlParseException other);
/**
* See QXmlParseException:: columnNumber()const
* @return
*/
@QtUninvokable
public final int columnNumber(){
return columnNumber_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int columnNumber_native_constfct(long __this__nativeId);
/**
* See QXmlParseException:: lineNumber()const
* @return
*/
@QtUninvokable
public final int lineNumber(){
return lineNumber_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int lineNumber_native_constfct(long __this__nativeId);
/**
* See QXmlParseException:: message()const
* @return
*/
@QtUninvokable
public final java.lang.@NonNull String message(){
return message_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String message_native_constfct(long __this__nativeId);
/**
* See operator==(QXmlParseException, QXmlParseException)
* @param arg2
* @return
*/
@QtUninvokable
public final boolean equals(io.qt.xml.@NonNull QXmlParseException arg2){
return equals_native_cref_QXmlParseException(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg2));
}
@QtUninvokable
private native boolean equals_native_cref_QXmlParseException(long __this__nativeId, long arg2);
/**
* See QXmlParseException:: publicId()const
* @return
*/
@QtUninvokable
public final java.lang.@NonNull String publicId(){
return publicId_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String publicId_native_constfct(long __this__nativeId);
/**
* See QXmlParseException:: systemId()const
* @return
*/
@QtUninvokable
public final java.lang.@NonNull String systemId(){
return systemId_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String systemId_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QXmlParseException(QPrivateConstructor p) { super(p); }
/**
* See operator==(QXmlParseException, QXmlParseException)
*/
@Override
@QtUninvokable
public boolean equals(Object other) {
if (other==null || other instanceof io.qt.xml.QXmlParseException) {
return equals((io.qt.xml.QXmlParseException) other);
}
return false;
}
/**
* Returns the objects's hash code computed by qHash(QXmlParseException)
.
*/
@QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native static int hashCode_native(long __this_nativeId);
/**
* Creates and returns a copy of this object.
See QXmlParseException:: QXmlParseException(QXmlParseException)
*/
@QtUninvokable
@Override
public QXmlParseException clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QXmlParseException clone_native(long __this_nativeId);
/**
* Overloaded constructor for {@link #QXmlParseException(java.lang.String, int, int, java.lang.String, java.lang.String)}
* with s = (String)null
.
*/
public QXmlParseException(java.lang.@NonNull String name, int c, int l, java.lang.@NonNull String p) {
this(name, c, l, p, (String)null);
}
/**
* Overloaded constructor for {@link #QXmlParseException(java.lang.String, int, int, java.lang.String, java.lang.String)}
* with:
* p = (String)null
* s = (String)null
*
*/
public QXmlParseException(java.lang.@NonNull String name, int c, int l) {
this(name, c, l, (String)null, (String)null);
}
/**
* Overloaded constructor for {@link #QXmlParseException(java.lang.String, int, int, java.lang.String, java.lang.String)}
* with:
* l = -1
* p = (String)null
* s = (String)null
*
*/
public QXmlParseException(java.lang.@NonNull String name, int c) {
this(name, c, (int)-1, (String)null, (String)null);
}
/**
* Overloaded constructor for {@link #QXmlParseException(java.lang.String, int, int, java.lang.String, java.lang.String)}
* with:
* c = -1
* l = -1
* p = (String)null
* s = (String)null
*
*/
public QXmlParseException(java.lang.@NonNull String name) {
this(name, (int)-1, (int)-1, (String)null, (String)null);
}
/**
* Overloaded constructor for {@link #QXmlParseException(java.lang.String, int, int, java.lang.String, java.lang.String)}
* with:
* name = (String)null
* c = -1
* l = -1
* p = (String)null
* s = (String)null
*
*/
public QXmlParseException() {
this((String)null, (int)-1, (int)-1, (String)null, (String)null);
}
}