io.qt.xml.QDomNode Maven / Gradle / Ivy
Show all versions of qtjambi-xml Show documentation
package io.qt.xml;
import io.qt.*;
/**
* The base class for all the nodes in a DOM tree
* Java wrapper for Qt class QDomNode
*/
public class QDomNode extends QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* Java wrapper for Qt enum QDomNode::EncodingPolicy
*/
public enum EncodingPolicy implements QtEnumerator {
/**
* Representing QDomNode:: EncodingFromDocument
*/
EncodingFromDocument(1),
/**
* Representing QDomNode:: EncodingFromTextStream
*/
EncodingFromTextStream(2);
static {
QtJambi_LibraryUtilities.initialize();
}
private EncodingPolicy(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull EncodingPolicy resolve(int value) {
switch (value) {
case 1: return EncodingFromDocument;
case 2: return EncodingFromTextStream;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QDomNode::NodeType
*/
public enum NodeType implements QtEnumerator {
/**
* Representing QDomNode:: ElementNode
*/
ElementNode(1),
/**
* Representing QDomNode:: AttributeNode
*/
AttributeNode(2),
/**
* Representing QDomNode:: TextNode
*/
TextNode(3),
/**
* Representing QDomNode:: CDATASectionNode
*/
CDATASectionNode(4),
/**
* Representing QDomNode:: EntityReferenceNode
*/
EntityReferenceNode(5),
/**
* Representing QDomNode:: EntityNode
*/
EntityNode(6),
/**
* Representing QDomNode:: ProcessingInstructionNode
*/
ProcessingInstructionNode(7),
/**
* Representing QDomNode:: CommentNode
*/
CommentNode(8),
/**
* Representing QDomNode:: DocumentNode
*/
DocumentNode(9),
/**
* Representing QDomNode:: DocumentTypeNode
*/
DocumentTypeNode(10),
/**
* Representing QDomNode:: DocumentFragmentNode
*/
DocumentFragmentNode(11),
/**
* Representing QDomNode:: NotationNode
*/
NotationNode(12),
/**
* Representing QDomNode:: BaseNode
*/
BaseNode(21),
/**
* Representing QDomNode:: CharacterDataNode
*/
CharacterDataNode(22);
static {
QtJambi_LibraryUtilities.initialize();
}
private NodeType(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static @NonNull NodeType resolve(int value) {
switch (value) {
case 1: return ElementNode;
case 2: return AttributeNode;
case 3: return TextNode;
case 4: return CDATASectionNode;
case 5: return EntityReferenceNode;
case 6: return EntityNode;
case 7: return ProcessingInstructionNode;
case 8: return CommentNode;
case 9: return DocumentNode;
case 10: return DocumentTypeNode;
case 11: return DocumentFragmentNode;
case 12: return NotationNode;
case 21: return BaseNode;
case 22: return CharacterDataNode;
default: throw new QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
*
*/
public QDomNode(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QDomNode instance);
/**
* See QDomNode:: QDomNode(QDomNode)
*/
public QDomNode(io.qt.xml.@NonNull QDomNode arg__1){
super((QPrivateConstructor)null);
initialize_native(this, arg__1);
}
private native static void initialize_native(QDomNode instance, io.qt.xml.QDomNode arg__1);
/**
* See QDomNode:: appendChild(QDomNode)
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomNode appendChild(io.qt.xml.@NonNull QDomNode newChild){
return appendChild_native_cref_QDomNode(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(newChild));
}
@QtUninvokable
private native io.qt.xml.QDomNode appendChild_native_cref_QDomNode(long __this__nativeId, long newChild);
/**
* See QDomNode:: childNodes()const
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomNodeList childNodes(){
return childNodes_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.xml.QDomNodeList childNodes_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final void clear(){
clear_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void clear_native(long __this__nativeId);
/**
* See QDomNode:: cloneNode(bool)const
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomNode cloneNode(boolean deep){
return cloneNode_native_bool_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), deep);
}
@QtUninvokable
private native io.qt.xml.QDomNode cloneNode_native_bool_constfct(long __this__nativeId, boolean deep);
/**
* See QDomNode:: columnNumber()const
*/
@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 QDomNode:: firstChild()const
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomNode firstChild(){
return firstChild_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.xml.QDomNode firstChild_native_constfct(long __this__nativeId);
/**
* See QDomNode:: firstChildElement(QString)const
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomElement firstChildElement(java.lang.@NonNull String tagName){
return firstChildElement_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), tagName);
}
@QtUninvokable
private native io.qt.xml.QDomElement firstChildElement_native_cref_QString_constfct(long __this__nativeId, java.lang.String tagName);
/**
* See QDomNode:: hasAttributes()const
*/
@QtUninvokable
public final boolean hasAttributes(){
return hasAttributes_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean hasAttributes_native_constfct(long __this__nativeId);
/**
* See QDomNode:: hasChildNodes()const
*/
@QtUninvokable
public final boolean hasChildNodes(){
return hasChildNodes_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean hasChildNodes_native_constfct(long __this__nativeId);
/**
* See QDomNode:: insertAfter(QDomNode, QDomNode)
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomNode insertAfter(io.qt.xml.@NonNull QDomNode newChild, io.qt.xml.@NonNull QDomNode refChild){
return insertAfter_native_cref_QDomNode_cref_QDomNode(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(newChild), QtJambi_LibraryUtilities.internal.checkedNativeId(refChild));
}
@QtUninvokable
private native io.qt.xml.QDomNode insertAfter_native_cref_QDomNode_cref_QDomNode(long __this__nativeId, long newChild, long refChild);
/**
* See QDomNode:: insertBefore(QDomNode, QDomNode)
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomNode insertBefore(io.qt.xml.@NonNull QDomNode newChild, io.qt.xml.@NonNull QDomNode refChild){
return insertBefore_native_cref_QDomNode_cref_QDomNode(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(newChild), QtJambi_LibraryUtilities.internal.checkedNativeId(refChild));
}
@QtUninvokable
private native io.qt.xml.QDomNode insertBefore_native_cref_QDomNode_cref_QDomNode(long __this__nativeId, long newChild, long refChild);
/**
*
*/
@QtUninvokable
public final boolean isAttr(){
return isAttr_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isAttr_native_constfct(long __this__nativeId);
/**
* See QDomNode:: isCDATASection()const
*/
@QtUninvokable
public final boolean isCDATASection(){
return isCDATASection_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isCDATASection_native_constfct(long __this__nativeId);
/**
* See QDomNode:: isCharacterData()const
*/
@QtUninvokable
public final boolean isCharacterData(){
return isCharacterData_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isCharacterData_native_constfct(long __this__nativeId);
/**
* See QDomNode:: isComment()const
*/
@QtUninvokable
public final boolean isComment(){
return isComment_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isComment_native_constfct(long __this__nativeId);
/**
* See QDomNode:: isDocument()const
*/
@QtUninvokable
public final boolean isDocument(){
return isDocument_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isDocument_native_constfct(long __this__nativeId);
/**
* See QDomNode:: isDocumentFragment()const
*/
@QtUninvokable
public final boolean isDocumentFragment(){
return isDocumentFragment_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isDocumentFragment_native_constfct(long __this__nativeId);
/**
* See QDomNode:: isDocumentType()const
*/
@QtUninvokable
public final boolean isDocumentType(){
return isDocumentType_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isDocumentType_native_constfct(long __this__nativeId);
/**
* See QDomNode:: isElement()const
*/
@QtUninvokable
public final boolean isElement(){
return isElement_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isElement_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final boolean isEntity(){
return isEntity_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isEntity_native_constfct(long __this__nativeId);
/**
* See QDomNode:: isEntityReference()const
*/
@QtUninvokable
public final boolean isEntityReference(){
return isEntityReference_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isEntityReference_native_constfct(long __this__nativeId);
/**
* See QDomNode:: isNotation()const
*/
@QtUninvokable
public final boolean isNotation(){
return isNotation_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isNotation_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final boolean isNull(){
return isNull_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isNull_native_constfct(long __this__nativeId);
/**
* See QDomNode:: isProcessingInstruction()const
*/
@QtUninvokable
public final boolean isProcessingInstruction(){
return isProcessingInstruction_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isProcessingInstruction_native_constfct(long __this__nativeId);
/**
* See QDomNode:: isSupported(QString, QString)const
*/
@QtUninvokable
public final boolean isSupported(java.lang.@NonNull String feature, java.lang.@NonNull String version){
return isSupported_native_cref_QString_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), feature, version);
}
@QtUninvokable
private native boolean isSupported_native_cref_QString_cref_QString_constfct(long __this__nativeId, java.lang.String feature, java.lang.String version);
/**
*
*/
@QtUninvokable
public final boolean isText(){
return isText_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isText_native_constfct(long __this__nativeId);
/**
* See QDomNode:: lastChild()const
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomNode lastChild(){
return lastChild_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.xml.QDomNode lastChild_native_constfct(long __this__nativeId);
/**
* See QDomNode:: lastChildElement(QString)const
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomElement lastChildElement(java.lang.@NonNull String tagName){
return lastChildElement_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), tagName);
}
@QtUninvokable
private native io.qt.xml.QDomElement lastChildElement_native_cref_QString_constfct(long __this__nativeId, java.lang.String tagName);
/**
* See QDomNode:: lineNumber()const
*/
@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 QDomNode:: localName()const
*/
@QtUninvokable
public final java.lang.@NonNull String localName(){
return localName_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String localName_native_constfct(long __this__nativeId);
/**
* See QDomNode:: namedItem(QString)const
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomNode namedItem(java.lang.@NonNull String name){
return namedItem_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), name);
}
@QtUninvokable
private native io.qt.xml.QDomNode namedItem_native_cref_QString_constfct(long __this__nativeId, java.lang.String name);
/**
* See QDomNode:: namespaceURI()const
*/
@QtUninvokable
public final java.lang.@NonNull String namespaceURI(){
return namespaceURI_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String namespaceURI_native_constfct(long __this__nativeId);
/**
* See QDomNode:: nextSibling()const
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomNode nextSibling(){
return nextSibling_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.xml.QDomNode nextSibling_native_constfct(long __this__nativeId);
/**
* See QDomNode:: nextSiblingElement(QString)const
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomElement nextSiblingElement(java.lang.@NonNull String taName){
return nextSiblingElement_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), taName);
}
@QtUninvokable
private native io.qt.xml.QDomElement nextSiblingElement_native_cref_QString_constfct(long __this__nativeId, java.lang.String taName);
/**
*
*/
@QtUninvokable
public final java.lang.@NonNull String nodeName(){
return nodeName_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String nodeName_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final io.qt.xml.QDomNode.@NonNull NodeType nodeType(){
return io.qt.xml.QDomNode.NodeType.resolve(nodeType_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@QtUninvokable
private native int nodeType_native_constfct(long __this__nativeId);
/**
* See QDomNode:: nodeValue()const
*/
@QtUninvokable
public final java.lang.@NonNull String nodeValue(){
return nodeValue_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String nodeValue_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final void normalize(){
normalize_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native void normalize_native(long __this__nativeId);
/**
* See operator<<(QTextStream&, QDomNode)
*/
@QtUninvokable
public void writeTo(io.qt.core.@StrictNonNull QTextStream arg__1){
java.util.Objects.requireNonNull(arg__1, "Argument 'arg__1': null not expected.");
writeTo_native_ref_QTextStream(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void writeTo_native_ref_QTextStream(long __this__nativeId, long arg__1);
/**
* See QDomNode:: operator=(QDomNode)
*/
@QtUninvokable
public final void assign(io.qt.xml.@NonNull QDomNode arg__1){
assign_native_cref_QDomNode(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native void assign_native_cref_QDomNode(long __this__nativeId, long arg__1);
/**
* See QDomNode:: operator==(QDomNode)const
*/
@QtUninvokable
public final boolean equals(io.qt.xml.@NonNull QDomNode arg__1){
return equals_native_cref_QDomNode_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@QtUninvokable
private native boolean equals_native_cref_QDomNode_constfct(long __this__nativeId, long arg__1);
/**
* See QDomNode:: ownerDocument()const
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomDocument ownerDocument(){
return ownerDocument_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.xml.QDomDocument ownerDocument_native_constfct(long __this__nativeId);
/**
* See QDomNode:: parentNode()const
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomNode parentNode(){
return parentNode_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.xml.QDomNode parentNode_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final java.lang.@NonNull String prefix(){
return prefix_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String prefix_native_constfct(long __this__nativeId);
/**
* See QDomNode:: previousSibling()const
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomNode previousSibling(){
return previousSibling_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.xml.QDomNode previousSibling_native_constfct(long __this__nativeId);
/**
* See QDomNode:: previousSiblingElement(QString)const
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomElement previousSiblingElement(java.lang.@NonNull String tagName){
return previousSiblingElement_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), tagName);
}
@QtUninvokable
private native io.qt.xml.QDomElement previousSiblingElement_native_cref_QString_constfct(long __this__nativeId, java.lang.String tagName);
/**
* See QDomNode:: removeChild(QDomNode)
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomNode removeChild(io.qt.xml.@NonNull QDomNode oldChild){
return removeChild_native_cref_QDomNode(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(oldChild));
}
@QtUninvokable
private native io.qt.xml.QDomNode removeChild_native_cref_QDomNode(long __this__nativeId, long oldChild);
/**
* See QDomNode:: replaceChild(QDomNode, QDomNode)
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomNode replaceChild(io.qt.xml.@NonNull QDomNode newChild, io.qt.xml.@NonNull QDomNode oldChild){
return replaceChild_native_cref_QDomNode_cref_QDomNode(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(newChild), QtJambi_LibraryUtilities.internal.checkedNativeId(oldChild));
}
@QtUninvokable
private native io.qt.xml.QDomNode replaceChild_native_cref_QDomNode_cref_QDomNode(long __this__nativeId, long newChild, long oldChild);
/**
* See QDomNode:: save(QTextStream&, int, QDomNode::EncodingPolicy)const
*/
@QtUninvokable
public final void save(io.qt.core.@StrictNonNull QTextStream arg__1, int arg__2, io.qt.xml.QDomNode.@NonNull EncodingPolicy arg__3){
java.util.Objects.requireNonNull(arg__1, "Argument 'arg__1': null not expected.");
save_native_ref_QTextStream_int_QDomNode_EncodingPolicy_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1), arg__2, arg__3.value());
}
@QtUninvokable
private native void save_native_ref_QTextStream_int_QDomNode_EncodingPolicy_constfct(long __this__nativeId, long arg__1, int arg__2, int arg__3);
/**
* See QDomNode:: setNodeValue(QString)
*/
@QtUninvokable
public final void setNodeValue(java.lang.@NonNull String arg__1){
setNodeValue_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1);
}
@QtUninvokable
private native void setNodeValue_native_cref_QString(long __this__nativeId, java.lang.String arg__1);
/**
* See QDomNode:: setPrefix(QString)
*/
@QtUninvokable
public final void setPrefix(java.lang.@NonNull String pre){
setPrefix_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), pre);
}
@QtUninvokable
private native void setPrefix_native_cref_QString(long __this__nativeId, java.lang.String pre);
/**
*
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomAttr toAttr(){
return toAttr_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.xml.QDomAttr toAttr_native_constfct(long __this__nativeId);
/**
* See QDomNode:: toCDATASection()const
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomCDATASection toCDATASection(){
return toCDATASection_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.xml.QDomCDATASection toCDATASection_native_constfct(long __this__nativeId);
/**
* See QDomNode:: toCharacterData()const
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomCharacterData toCharacterData(){
return toCharacterData_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.xml.QDomCharacterData toCharacterData_native_constfct(long __this__nativeId);
/**
* See QDomNode:: toComment()const
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomComment toComment(){
return toComment_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.xml.QDomComment toComment_native_constfct(long __this__nativeId);
/**
* See QDomNode:: toDocument()const
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomDocument toDocument(){
return toDocument_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.xml.QDomDocument toDocument_native_constfct(long __this__nativeId);
/**
* See QDomNode:: toDocumentFragment()const
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomDocumentFragment toDocumentFragment(){
return toDocumentFragment_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.xml.QDomDocumentFragment toDocumentFragment_native_constfct(long __this__nativeId);
/**
* See QDomNode:: toDocumentType()const
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomDocumentType toDocumentType(){
return toDocumentType_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.xml.QDomDocumentType toDocumentType_native_constfct(long __this__nativeId);
/**
* See QDomNode:: toElement()const
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomElement toElement(){
return toElement_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.xml.QDomElement toElement_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomEntity toEntity(){
return toEntity_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.xml.QDomEntity toEntity_native_constfct(long __this__nativeId);
/**
* See QDomNode:: toEntityReference()const
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomEntityReference toEntityReference(){
return toEntityReference_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.xml.QDomEntityReference toEntityReference_native_constfct(long __this__nativeId);
/**
* See QDomNode:: toNotation()const
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomNotation toNotation(){
return toNotation_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.xml.QDomNotation toNotation_native_constfct(long __this__nativeId);
/**
* See QDomNode:: toProcessingInstruction()const
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomProcessingInstruction toProcessingInstruction(){
return toProcessingInstruction_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.xml.QDomProcessingInstruction toProcessingInstruction_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomText toText(){
return toText_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.xml.QDomText toText_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QDomNode(QPrivateConstructor p) { super(p); }
/**
* See QDomNode:: operator==(QDomNode)const
*/
@Override
@QtUninvokable
public boolean equals(Object other) {
if (other instanceof io.qt.xml.QDomNode) {
return equals((io.qt.xml.QDomNode) other);
}
return false;
}
/**
* Returns the objects's hash code computed by qHash(QDomNode)
.
*/
@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 QDomNode:: QDomNode(QDomNode)
*/
@QtUninvokable
@Override
public QDomNode clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private static native QDomNode clone_native(long __this_nativeId);
/**
* Overloaded function for {@link #cloneNode(boolean)}
* with deep = true
.
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomNode cloneNode() {
return cloneNode((boolean)true);
}
/**
* Overloaded function for {@link #firstChildElement(java.lang.String)}
* with tagName = (String)null
.
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomElement firstChildElement() {
return firstChildElement((String)null);
}
/**
* Overloaded function for {@link #lastChildElement(java.lang.String)}
* with tagName = (String)null
.
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomElement lastChildElement() {
return lastChildElement((String)null);
}
/**
* Overloaded function for {@link #nextSiblingElement(java.lang.String)}
* with taName = (String)null
.
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomElement nextSiblingElement() {
return nextSiblingElement((String)null);
}
/**
* Overloaded function for {@link #previousSiblingElement(java.lang.String)}
* with tagName = (String)null
.
*/
@QtUninvokable
public final io.qt.xml.@NonNull QDomElement previousSiblingElement() {
return previousSiblingElement((String)null);
}
/**
* Overloaded function for {@link #save(io.qt.core.QTextStream, int, io.qt.xml.QDomNode.EncodingPolicy)}
* with arg__3 = io.qt.xml.QDomNode.EncodingPolicy.EncodingFromDocument
.
*/
@QtUninvokable
public final void save(io.qt.core.@StrictNonNull QTextStream arg__1, int arg__2) {
save(arg__1, arg__2, io.qt.xml.QDomNode.EncodingPolicy.EncodingFromDocument);
}
}