io.qt.xml.QDomCharacterData 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.
The newest version!
package io.qt.xml;
import io.qt.*;
/**
* Represents a generic string in the DOM
* Java wrapper for Qt class QDomCharacterData
*/
public class QDomCharacterData extends io.qt.xml.QDomNode
implements java.lang.Cloneable
{
/**
* See QDomCharacterData:: QDomCharacterData()
*/
public QDomCharacterData(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QDomCharacterData instance);
/**
* See QDomCharacterData:: QDomCharacterData(QDomCharacterData)
* @param characterData
*/
public QDomCharacterData(io.qt.xml.@NonNull QDomCharacterData characterData){
super((QPrivateConstructor)null);
initialize_native(this, characterData);
}
private native static void initialize_native(QDomCharacterData instance, io.qt.xml.QDomCharacterData characterData);
/**
* See QDomCharacterData:: appendData(QString)
* @param arg
*/
@QtUninvokable
public final void appendData(java.lang.@NonNull String arg){
appendData_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), arg);
}
@QtUninvokable
private native void appendData_native_cref_QString(long __this__nativeId, java.lang.String arg);
/**
* See QDomCharacterData:: data()const
* @return
*/
@QtUninvokable
public final java.lang.@NonNull String data(){
return data_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String data_native_constfct(long __this__nativeId);
/**
* See QDomCharacterData:: deleteData(ulong, ulong)
* @param offset
* @param count
*/
@QtUninvokable
public final void deleteData(int offset, int count){
deleteData_native_unsigned_long_unsigned_long(QtJambi_LibraryUtilities.internal.nativeId(this), offset, count);
}
@QtUninvokable
private native void deleteData_native_unsigned_long_unsigned_long(long __this__nativeId, int offset, int count);
/**
* See QDomCharacterData:: insertData(ulong, QString)
* @param offset
* @param arg
*/
@QtUninvokable
public final void insertData(int offset, java.lang.@NonNull String arg){
insertData_native_unsigned_long_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), offset, arg);
}
@QtUninvokable
private native void insertData_native_unsigned_long_cref_QString(long __this__nativeId, int offset, java.lang.String arg);
/**
* See QDomCharacterData:: length()const
* @return
*/
@QtUninvokable
public final int length(){
return length_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native int length_native_constfct(long __this__nativeId);
/**
* See QDomCharacterData:: operator=(QDomCharacterData)
* @param other
*/
@QtUninvokable
public final void assign(io.qt.xml.@NonNull QDomCharacterData other){
assign_native_cref_QDomCharacterData(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void assign_native_cref_QDomCharacterData(long __this__nativeId, long other);
/**
* See QDomCharacterData:: replaceData(ulong, ulong, QString)
* @param offset
* @param count
* @param arg
*/
@QtUninvokable
public final void replaceData(int offset, int count, java.lang.@NonNull String arg){
replaceData_native_unsigned_long_unsigned_long_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), offset, count, arg);
}
@QtUninvokable
private native void replaceData_native_unsigned_long_unsigned_long_cref_QString(long __this__nativeId, int offset, int count, java.lang.String arg);
/**
* See QDomCharacterData:: setData(QString)
* @param data
*/
@QtUninvokable
public final void setData(java.lang.@NonNull String data){
setData_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), data);
}
@QtUninvokable
private native void setData_native_cref_QString(long __this__nativeId, java.lang.String data);
/**
* See QDomCharacterData:: substringData(ulong, ulong)
* @param offset
* @param count
* @return
*/
@QtUninvokable
public final java.lang.@NonNull String substringData(int offset, int count){
return substringData_native_unsigned_long_unsigned_long(QtJambi_LibraryUtilities.internal.nativeId(this), offset, count);
}
@QtUninvokable
private native java.lang.String substringData_native_unsigned_long_unsigned_long(long __this__nativeId, int offset, int count);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QDomCharacterData(QPrivateConstructor p) { super(p); }
/**
* Creates and returns a copy of this object.
*/
@QtUninvokable
@Override
public QDomCharacterData clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QDomCharacterData clone_native(long __this_nativeId);
}