io.qt.xml.QDomElement Maven / Gradle / Ivy
Show all versions of qtjambi-xml Show documentation
package io.qt.xml;
import io.qt.*;
/**
* Represents one element in the DOM tree
* Java wrapper for Qt class QDomElement
*/
public class QDomElement extends io.qt.xml.QDomNode
implements java.lang.Cloneable
{
/**
* See QDomElement:: QDomElement()
*/
public QDomElement(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QDomElement instance);
/**
* See QDomElement:: QDomElement(QDomElement)
* @param element
*/
public QDomElement(io.qt.xml.@NonNull QDomElement element){
super((QPrivateConstructor)null);
initialize_native(this, element);
}
private native static void initialize_native(QDomElement instance, io.qt.xml.QDomElement element);
/**
* See QDomElement:: attribute(QString, QString)const
* @param name
* @param defValue
* @return
*/
@QtUninvokable
public final java.lang.@NonNull String attribute(java.lang.@NonNull String name, java.lang.@NonNull String defValue){
return attribute_native_cref_QString_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), name, defValue);
}
@QtUninvokable
private native java.lang.String attribute_native_cref_QString_cref_QString_constfct(long __this__nativeId, java.lang.String name, java.lang.String defValue);
/**
* See QDomElement:: attributeNS(QString, QString, QString)const
* @param nsURI
* @param localName
* @param defValue
* @return
*/
@QtUninvokable
public final java.lang.@NonNull String attributeNS(java.lang.@NonNull String nsURI, java.lang.@NonNull String localName, java.lang.@NonNull String defValue){
return attributeNS_native_cref_QString_cref_QString_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), nsURI, localName, defValue);
}
@QtUninvokable
private native java.lang.String attributeNS_native_cref_QString_cref_QString_cref_QString_constfct(long __this__nativeId, java.lang.String nsURI, java.lang.String localName, java.lang.String defValue);
/**
* See QDomElement:: attributeNode(QString)
* @param name
* @return
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomAttr attributeNode(java.lang.@NonNull String name){
return attributeNode_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), name);
}
@QtUninvokable
private native io.qt.xml.QDomAttr attributeNode_native_cref_QString(long __this__nativeId, java.lang.String name);
/**
* See QDomElement:: attributeNodeNS(QString, QString)
* @param nsURI
* @param localName
* @return
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomAttr attributeNodeNS(java.lang.@NonNull String nsURI, java.lang.@NonNull String localName){
return attributeNodeNS_native_cref_QString_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), nsURI, localName);
}
@QtUninvokable
private native io.qt.xml.QDomAttr attributeNodeNS_native_cref_QString_cref_QString(long __this__nativeId, java.lang.String nsURI, java.lang.String localName);
/**
* See QDomElement:: attributes()const
* @return
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomNamedNodeMap attributes(){
return attributes_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.xml.QDomNamedNodeMap attributes_native_constfct(long __this__nativeId);
/**
* See QDomElement:: elementsByTagName(QString)const
* @param tagname
* @return
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomNodeList elementsByTagName(java.lang.@NonNull String tagname){
return elementsByTagName_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), tagname);
}
@QtUninvokable
private native io.qt.xml.QDomNodeList elementsByTagName_native_cref_QString_constfct(long __this__nativeId, java.lang.String tagname);
/**
* See QDomElement:: elementsByTagNameNS(QString, QString)const
* @param nsURI
* @param localName
* @return
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomNodeList elementsByTagNameNS(java.lang.@NonNull String nsURI, java.lang.@NonNull String localName){
return elementsByTagNameNS_native_cref_QString_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), nsURI, localName);
}
@QtUninvokable
private native io.qt.xml.QDomNodeList elementsByTagNameNS_native_cref_QString_cref_QString_constfct(long __this__nativeId, java.lang.String nsURI, java.lang.String localName);
/**
* See QDomElement:: hasAttribute(QString)const
* @param name
* @return
*/
@QtUninvokable
public final boolean hasAttribute(java.lang.@NonNull String name){
return hasAttribute_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), name);
}
@QtUninvokable
private native boolean hasAttribute_native_cref_QString_constfct(long __this__nativeId, java.lang.String name);
/**
* See QDomElement:: hasAttributeNS(QString, QString)const
* @param nsURI
* @param localName
* @return
*/
@QtUninvokable
public final boolean hasAttributeNS(java.lang.@NonNull String nsURI, java.lang.@NonNull String localName){
return hasAttributeNS_native_cref_QString_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), nsURI, localName);
}
@QtUninvokable
private native boolean hasAttributeNS_native_cref_QString_cref_QString_constfct(long __this__nativeId, java.lang.String nsURI, java.lang.String localName);
/**
* See QDomElement:: operator=(QDomElement)
* @param other
*/
@QtUninvokable
public final void assign(io.qt.xml.@NonNull QDomElement other){
assign_native_cref_QDomElement(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@QtUninvokable
private native void assign_native_cref_QDomElement(long __this__nativeId, long other);
/**
* See QDomElement:: removeAttribute(QString)
* @param name
*/
@QtUninvokable
public final void removeAttribute(java.lang.@NonNull String name){
removeAttribute_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), name);
}
@QtUninvokable
private native void removeAttribute_native_cref_QString(long __this__nativeId, java.lang.String name);
/**
* See QDomElement:: removeAttributeNS(QString, QString)
* @param nsURI
* @param localName
*/
@QtUninvokable
public final void removeAttributeNS(java.lang.@NonNull String nsURI, java.lang.@NonNull String localName){
removeAttributeNS_native_cref_QString_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), nsURI, localName);
}
@QtUninvokable
private native void removeAttributeNS_native_cref_QString_cref_QString(long __this__nativeId, java.lang.String nsURI, java.lang.String localName);
/**
* See QDomElement:: removeAttributeNode(QDomAttr)
* @param oldAttr
* @return
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomAttr removeAttributeNode(io.qt.xml.@NonNull QDomAttr oldAttr){
return removeAttributeNode_native_cref_QDomAttr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(oldAttr));
}
@QtUninvokable
private native io.qt.xml.QDomAttr removeAttributeNode_native_cref_QDomAttr(long __this__nativeId, long oldAttr);
/**
* See QDomElement:: setAttribute(QString, QString)
* @param name
* @param value
*/
@QtUninvokable
public final void setAttribute(java.lang.@NonNull String name, java.lang.@NonNull String value){
setAttribute_native_cref_QString_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), name, value);
}
@QtUninvokable
private native void setAttribute_native_cref_QString_cref_QString(long __this__nativeId, java.lang.String name, java.lang.String value);
/**
* See QDomElement:: setAttribute(QString, double)
* @param name
* @param value
*/
@QtUninvokable
public final void setAttribute(java.lang.@NonNull String name, double value){
setAttribute_native_cref_QString_double(QtJambi_LibraryUtilities.internal.nativeId(this), name, value);
}
@QtUninvokable
private native void setAttribute_native_cref_QString_double(long __this__nativeId, java.lang.String name, double value);
/**
* See QDomElement:: setAttribute(QString, float)
* @param name
* @param value
*/
@QtUninvokable
public final void setAttribute(java.lang.@NonNull String name, float value){
setAttribute_native_cref_QString_float(QtJambi_LibraryUtilities.internal.nativeId(this), name, value);
}
@QtUninvokable
private native void setAttribute_native_cref_QString_float(long __this__nativeId, java.lang.String name, float value);
/**
* See QDomElement:: setAttribute(QString, int)
* @param name
* @param value
*/
@QtUninvokable
public final void setAttribute(java.lang.@NonNull String name, int value){
setAttribute_native_cref_QString_int(QtJambi_LibraryUtilities.internal.nativeId(this), name, value);
}
@QtUninvokable
private native void setAttribute_native_cref_QString_int(long __this__nativeId, java.lang.String name, int value);
/**
* See QDomElement:: setAttribute(QString, qlonglong)
* @param name
* @param value
*/
@QtUninvokable
public final void setAttribute(java.lang.@NonNull String name, long value){
setAttribute_native_cref_QString_qlonglong(QtJambi_LibraryUtilities.internal.nativeId(this), name, value);
}
@QtUninvokable
private native void setAttribute_native_cref_QString_qlonglong(long __this__nativeId, java.lang.String name, long value);
/**
* See QDomElement:: setAttributeNS(QString, QString, QString)
* @param nsURI
* @param qName
* @param value
*/
@QtUninvokable
public final void setAttributeNS(java.lang.@NonNull String nsURI, java.lang.@NonNull String qName, java.lang.@NonNull String value){
setAttributeNS_native_cref_QString_cref_QString_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), nsURI, qName, value);
}
@QtUninvokable
private native void setAttributeNS_native_cref_QString_cref_QString_cref_QString(long __this__nativeId, java.lang.String nsURI, java.lang.String qName, java.lang.String value);
/**
* See QDomElement:: setAttributeNS(QString, QString, double)
* @param nsURI
* @param qName
* @param value
*/
@QtUninvokable
public final void setAttributeNS(java.lang.@NonNull String nsURI, java.lang.@NonNull String qName, double value){
setAttributeNS_native_cref_QString_cref_QString_double(QtJambi_LibraryUtilities.internal.nativeId(this), nsURI, qName, value);
}
@QtUninvokable
private native void setAttributeNS_native_cref_QString_cref_QString_double(long __this__nativeId, java.lang.String nsURI, java.lang.String qName, double value);
/**
* See QDomElement:: setAttributeNS(QString, QString, int)
* @param nsURI
* @param qName
* @param value
*/
@QtUninvokable
public final void setAttributeNS(java.lang.@NonNull String nsURI, java.lang.@NonNull String qName, int value){
setAttributeNS_native_cref_QString_cref_QString_int(QtJambi_LibraryUtilities.internal.nativeId(this), nsURI, qName, value);
}
@QtUninvokable
private native void setAttributeNS_native_cref_QString_cref_QString_int(long __this__nativeId, java.lang.String nsURI, java.lang.String qName, int value);
/**
* See QDomElement:: setAttributeNS(QString, QString, qlonglong)
* @param nsURI
* @param qName
* @param value
*/
@QtUninvokable
public final void setAttributeNS(java.lang.@NonNull String nsURI, java.lang.@NonNull String qName, long value){
setAttributeNS_native_cref_QString_cref_QString_qlonglong(QtJambi_LibraryUtilities.internal.nativeId(this), nsURI, qName, value);
}
@QtUninvokable
private native void setAttributeNS_native_cref_QString_cref_QString_qlonglong(long __this__nativeId, java.lang.String nsURI, java.lang.String qName, long value);
/**
* See QDomElement:: setAttributeNode(QDomAttr)
* @param newAttr
* @return
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomAttr setAttributeNode(io.qt.xml.@NonNull QDomAttr newAttr){
return setAttributeNode_native_cref_QDomAttr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(newAttr));
}
@QtUninvokable
private native io.qt.xml.QDomAttr setAttributeNode_native_cref_QDomAttr(long __this__nativeId, long newAttr);
/**
* See QDomElement:: setAttributeNodeNS(QDomAttr)
* @param newAttr
* @return
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomAttr setAttributeNodeNS(io.qt.xml.@NonNull QDomAttr newAttr){
return setAttributeNodeNS_native_cref_QDomAttr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(newAttr));
}
@QtUninvokable
private native io.qt.xml.QDomAttr setAttributeNodeNS_native_cref_QDomAttr(long __this__nativeId, long newAttr);
/**
* See QDomElement:: setTagName(QString)
* @param name
*/
@QtUninvokable
public final void setTagName(java.lang.@NonNull String name){
setTagName_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), name);
}
@QtUninvokable
private native void setTagName_native_cref_QString(long __this__nativeId, java.lang.String name);
/**
* See QDomElement:: tagName()const
* @return
*/
@QtUninvokable
public final java.lang.@NonNull String tagName(){
return tagName_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String tagName_native_constfct(long __this__nativeId);
/**
*
* @return
*/
@QtUninvokable
public final java.lang.@NonNull String text(){
return text_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String text_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QDomElement(QPrivateConstructor p) { super(p); }
/**
* Creates and returns a copy of this object.
See QDomElement:: QDomElement(QDomElement)
*/
@QtUninvokable
@Override
public QDomElement clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QDomElement clone_native(long __this_nativeId);
/**
* Overloaded function for {@link #attribute(java.lang.String, java.lang.String)}
* with defValue = (String)null
.
*/
@QtUninvokable
public final java.lang.@NonNull String attribute(java.lang.@NonNull String name) {
return attribute(name, (String)null);
}
/**
* Overloaded function for {@link #attributeNS(java.lang.String, java.lang.String, java.lang.String)}
* with defValue = (String)null
.
*/
@QtUninvokable
public final java.lang.@NonNull String attributeNS(java.lang.@NonNull String nsURI, java.lang.@NonNull String localName) {
return attributeNS(nsURI, localName, (String)null);
}
}