All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.xml.QDomDocument Maven / Gradle / Ivy

There is a newer version: 6.8.0
Show newest version
package io.qt.xml;

import io.qt.*;


/**
 * 

Represents an XML document

*

Java wrapper for Qt class QDomDocument

*/ public class QDomDocument extends io.qt.xml.QDomNode implements java.lang.Cloneable { @QtPropertyMember(enabled=false) private Object __rcContent = null; /** *

See QDomDocument::QDomDocument()

*/ public QDomDocument(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QDomDocument instance); /** *

See QDomDocument::QDomDocument(QDomDocument)

*/ public QDomDocument(io.qt.xml.@NonNull QDomDocument x){ super((QPrivateConstructor)null); initialize_native(this, x); } private native static void initialize_native(QDomDocument instance, io.qt.xml.QDomDocument x); /** *

See QDomDocument::QDomDocument(QDomDocumentType)

*/ public QDomDocument(io.qt.xml.@NonNull QDomDocumentType doctype){ super((QPrivateConstructor)null); initialize_native(this, doctype); } private native static void initialize_native(QDomDocument instance, io.qt.xml.QDomDocumentType doctype); /** *

See QDomDocument::QDomDocument(QString)

*/ public QDomDocument(java.lang.@NonNull String name){ super((QPrivateConstructor)null); initialize_native(this, name); } private native static void initialize_native(QDomDocument instance, java.lang.String name); /** *

See QDomDocument::createAttribute(QString)

*/ @QtUninvokable public final io.qt.xml.@NonNull QDomAttr createAttribute(java.lang.@NonNull String name){ return createAttribute_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), name); } @QtUninvokable private native io.qt.xml.QDomAttr createAttribute_native_cref_QString(long __this__nativeId, java.lang.String name); /** *

See QDomDocument::createAttributeNS(QString,QString)

*/ @QtUninvokable public final io.qt.xml.@NonNull QDomAttr createAttributeNS(java.lang.@NonNull String nsURI, java.lang.@NonNull String qName){ return createAttributeNS_native_cref_QString_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), nsURI, qName); } @QtUninvokable private native io.qt.xml.QDomAttr createAttributeNS_native_cref_QString_cref_QString(long __this__nativeId, java.lang.String nsURI, java.lang.String qName); /** *

See QDomDocument::createCDATASection(QString)

*/ @QtUninvokable public final io.qt.xml.@NonNull QDomCDATASection createCDATASection(java.lang.@NonNull String data){ return createCDATASection_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), data); } @QtUninvokable private native io.qt.xml.QDomCDATASection createCDATASection_native_cref_QString(long __this__nativeId, java.lang.String data); /** *

See QDomDocument::createComment(QString)

*/ @QtUninvokable public final io.qt.xml.@NonNull QDomComment createComment(java.lang.@NonNull String data){ return createComment_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), data); } @QtUninvokable private native io.qt.xml.QDomComment createComment_native_cref_QString(long __this__nativeId, java.lang.String data); /** *

See QDomDocument::createDocumentFragment()

*/ @QtUninvokable public final io.qt.xml.@NonNull QDomDocumentFragment createDocumentFragment(){ return createDocumentFragment_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.xml.QDomDocumentFragment createDocumentFragment_native(long __this__nativeId); /** *

See QDomDocument::createElement(QString)

*/ @QtUninvokable public final io.qt.xml.@NonNull QDomElement createElement(java.lang.@NonNull String tagName){ return createElement_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), tagName); } @QtUninvokable private native io.qt.xml.QDomElement createElement_native_cref_QString(long __this__nativeId, java.lang.String tagName); /** *

See QDomDocument::createElementNS(QString,QString)

*/ @QtUninvokable public final io.qt.xml.@NonNull QDomElement createElementNS(java.lang.@NonNull String nsURI, java.lang.@NonNull String qName){ return createElementNS_native_cref_QString_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), nsURI, qName); } @QtUninvokable private native io.qt.xml.QDomElement createElementNS_native_cref_QString_cref_QString(long __this__nativeId, java.lang.String nsURI, java.lang.String qName); /** *

See QDomDocument::createEntityReference(QString)

*/ @QtUninvokable public final io.qt.xml.@NonNull QDomEntityReference createEntityReference(java.lang.@NonNull String name){ return createEntityReference_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), name); } @QtUninvokable private native io.qt.xml.QDomEntityReference createEntityReference_native_cref_QString(long __this__nativeId, java.lang.String name); /** *

See QDomDocument::createProcessingInstruction(QString,QString)

*/ @QtUninvokable public final io.qt.xml.@NonNull QDomProcessingInstruction createProcessingInstruction(java.lang.@NonNull String target, java.lang.@NonNull String data){ return createProcessingInstruction_native_cref_QString_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), target, data); } @QtUninvokable private native io.qt.xml.QDomProcessingInstruction createProcessingInstruction_native_cref_QString_cref_QString(long __this__nativeId, java.lang.String target, java.lang.String data); /** *

See QDomDocument::createTextNode(QString)

*/ @QtUninvokable public final io.qt.xml.@NonNull QDomText createTextNode(java.lang.@NonNull String data){ return createTextNode_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), data); } @QtUninvokable private native io.qt.xml.QDomText createTextNode_native_cref_QString(long __this__nativeId, java.lang.String data); /** *

See QDomDocument::doctype()const

*/ @QtUninvokable public final io.qt.xml.@NonNull QDomDocumentType doctype(){ return doctype_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.xml.QDomDocumentType doctype_native_constfct(long __this__nativeId); /** *

See QDomDocument::documentElement()const

*/ @QtUninvokable public final io.qt.xml.@NonNull QDomElement documentElement(){ return documentElement_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.xml.QDomElement documentElement_native_constfct(long __this__nativeId); /** *

See QDomDocument::elementById(QString)

*/ @QtUninvokable public final io.qt.xml.@NonNull QDomElement elementById(java.lang.@NonNull String elementId){ return elementById_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), elementId); } @QtUninvokable private native io.qt.xml.QDomElement elementById_native_cref_QString(long __this__nativeId, java.lang.String elementId); /** *

See QDomDocument::elementsByTagName(QString)const

*/ @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 QDomDocument::elementsByTagNameNS(QString,QString)

*/ @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(QtJambi_LibraryUtilities.internal.nativeId(this), nsURI, localName); } @QtUninvokable private native io.qt.xml.QDomNodeList elementsByTagNameNS_native_cref_QString_cref_QString(long __this__nativeId, java.lang.String nsURI, java.lang.String localName); /** *

See QDomDocument::implementation()const

*/ @QtUninvokable public final io.qt.xml.@NonNull QDomImplementation implementation(){ return implementation_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.xml.QDomImplementation implementation_native_constfct(long __this__nativeId); /** *

See QDomDocument::importNode(QDomNode,bool)

*/ @QtUninvokable public final io.qt.xml.@NonNull QDomNode importNode(io.qt.xml.@NonNull QDomNode importedNode, boolean deep){ return importNode_native_cref_QDomNode_bool(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(importedNode), deep); } @QtUninvokable private native io.qt.xml.QDomNode importNode_native_cref_QDomNode_bool(long __this__nativeId, long importedNode, boolean deep); /** *

See QDomDocument::operator=(QDomDocument)

*/ @QtUninvokable public final void assign(io.qt.xml.@NonNull QDomDocument arg__1){ assign_native_cref_QDomDocument(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1)); } @QtUninvokable private native void assign_native_cref_QDomDocument(long __this__nativeId, long arg__1); /** *

See QDomDocument::setContent(QByteArray,QString*,int*,int*)

*/ @QtUninvokable public final io.qt.xml.QDomDocument.@StrictNonNull Result setContent(io.qt.core.@NonNull QByteArray text){ return setContent_native_cref_QByteArray_QString_ptr_int_ptr_int_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(text)); } @QtUninvokable private native io.qt.xml.QDomDocument.Result setContent_native_cref_QByteArray_QString_ptr_int_ptr_int_ptr(long __this__nativeId, long text); /** *

See QDomDocument::setContent(QByteArray,bool,QString*,int*,int*)

*/ @QtUninvokable public final io.qt.xml.QDomDocument.@StrictNonNull Result setContent(io.qt.core.@NonNull QByteArray text, boolean namespaceProcessing){ return setContent_native_cref_QByteArray_bool_QString_ptr_int_ptr_int_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(text), namespaceProcessing); } @QtUninvokable private native io.qt.xml.QDomDocument.Result setContent_native_cref_QByteArray_bool_QString_ptr_int_ptr_int_ptr(long __this__nativeId, long text, boolean namespaceProcessing); /** *

See QDomDocument::setContent(QIODevice*,QString*,int*,int*)

*/ @QtUninvokable public final io.qt.xml.QDomDocument.@StrictNonNull Result setContent(io.qt.core.@Nullable QIODevice dev){ io.qt.xml.QDomDocument.Result __qt_return_value = setContent_native_QIODevice_ptr_QString_ptr_int_ptr_int_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(dev)); __rcContent = dev; return __qt_return_value; } @QtUninvokable private native io.qt.xml.QDomDocument.Result setContent_native_QIODevice_ptr_QString_ptr_int_ptr_int_ptr(long __this__nativeId, long dev); /** *

See QDomDocument::setContent(QIODevice*,bool,QString*,int*,int*)

*/ @QtUninvokable public final io.qt.xml.QDomDocument.@StrictNonNull Result setContent(io.qt.core.@Nullable QIODevice dev, boolean namespaceProcessing){ io.qt.xml.QDomDocument.Result __qt_return_value = setContent_native_QIODevice_ptr_bool_QString_ptr_int_ptr_int_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(dev), namespaceProcessing); __rcContent = dev; return __qt_return_value; } @QtUninvokable private native io.qt.xml.QDomDocument.Result setContent_native_QIODevice_ptr_bool_QString_ptr_int_ptr_int_ptr(long __this__nativeId, long dev, boolean namespaceProcessing); /** *

See QDomDocument::setContent(QString,QString*,int*,int*)

*/ @QtUninvokable public final io.qt.xml.QDomDocument.@StrictNonNull Result setContent(java.lang.@NonNull String text){ return setContent_native_cref_QString_QString_ptr_int_ptr_int_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), text); } @QtUninvokable private native io.qt.xml.QDomDocument.Result setContent_native_cref_QString_QString_ptr_int_ptr_int_ptr(long __this__nativeId, java.lang.String text); /** *

See QDomDocument::setContent(QString,bool,QString*,int*,int*)

*/ @QtUninvokable public final io.qt.xml.QDomDocument.@StrictNonNull Result setContent(java.lang.@NonNull String text, boolean namespaceProcessing){ return setContent_native_cref_QString_bool_QString_ptr_int_ptr_int_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), text, namespaceProcessing); } @QtUninvokable private native io.qt.xml.QDomDocument.Result setContent_native_cref_QString_bool_QString_ptr_int_ptr_int_ptr(long __this__nativeId, java.lang.String text, boolean namespaceProcessing); /** *

See QDomDocument::setContent(QXmlInputSource*,QXmlReader*,QString*,int*,int*)

*/ @QtUninvokable public final io.qt.xml.QDomDocument.@StrictNonNull Result setContent(io.qt.xml.@Nullable QXmlInputSource source, io.qt.xml.@Nullable QXmlReader reader){ io.qt.xml.QDomDocument.Result __qt_return_value = setContent_native_QXmlInputSource_ptr_QXmlReader_ptr_QString_ptr_int_ptr_int_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(source), QtJambi_LibraryUtilities.internal.checkedNativeId(reader)); __rcContent = source; return __qt_return_value; } @QtUninvokable private native io.qt.xml.QDomDocument.Result setContent_native_QXmlInputSource_ptr_QXmlReader_ptr_QString_ptr_int_ptr_int_ptr(long __this__nativeId, long source, long reader); /** *

See QDomDocument::setContent(QXmlInputSource*,bool,QString*,int*,int*)

*/ @QtUninvokable public final io.qt.xml.QDomDocument.@StrictNonNull Result setContent(io.qt.xml.@Nullable QXmlInputSource source, boolean namespaceProcessing){ io.qt.xml.QDomDocument.Result __qt_return_value = setContent_native_QXmlInputSource_ptr_bool_QString_ptr_int_ptr_int_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(source), namespaceProcessing); __rcContent = source; return __qt_return_value; } @QtUninvokable private native io.qt.xml.QDomDocument.Result setContent_native_QXmlInputSource_ptr_bool_QString_ptr_int_ptr_int_ptr(long __this__nativeId, long source, boolean namespaceProcessing); /** *

See QDomDocument::setContent(QXmlStreamReader*,bool,QString*,int*,int*)

*/ @QtUninvokable public final io.qt.xml.QDomDocument.@StrictNonNull Result setContent(io.qt.core.@Nullable QXmlStreamReader reader, boolean namespaceProcessing){ io.qt.xml.QDomDocument.Result __qt_return_value = setContent_native_QXmlStreamReader_ptr_bool_QString_ptr_int_ptr_int_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(reader), namespaceProcessing); __rcContent = reader; return __qt_return_value; } @QtUninvokable private native io.qt.xml.QDomDocument.Result setContent_native_QXmlStreamReader_ptr_bool_QString_ptr_int_ptr_int_ptr(long __this__nativeId, long reader, boolean namespaceProcessing); /** *

See QDomDocument::toByteArray(int)const

*/ @QtUninvokable public final io.qt.core.@NonNull QByteArray toByteArray(int arg__1){ return toByteArray_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1); } @QtUninvokable private native io.qt.core.QByteArray toByteArray_native_int_constfct(long __this__nativeId, int arg__1); /** *

See QDomDocument::toString(int)const

*/ @QtUninvokable public final java.lang.@NonNull String toString(int arg__1){ return toString_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1); } @QtUninvokable private native java.lang.String toString_native_int_constfct(long __this__nativeId, int arg__1); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QDomDocument(QPrivateConstructor p) { super(p); } public static final class Result { private Result(boolean success, String errorMessage, int errorLine, int errorColumn) { this.success = success; this.errorMessage = errorMessage; this.errorLine = errorLine; this.errorColumn = errorColumn; } public final boolean success; public final String errorMessage; public final int errorLine; public final int errorColumn; } /** *

Creates and returns a copy of this object.

See QDomDocument::QDomDocument(QDomDocument)

*/ @QtUninvokable @Override public QDomDocument clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private static native QDomDocument clone_native(long __this_nativeId); /** *

Overloaded function for {@link #setContent(io.qt.core.QByteArray)}.

*/ @QtUninvokable public final io.qt.xml.QDomDocument.@StrictNonNull Result setContent(byte @NonNull[] text) { return setContent(new io.qt.core.QByteArray(text)); } /** *

Overloaded function for {@link #setContent(io.qt.core.QByteArray, boolean)}.

*/ @QtUninvokable public final io.qt.xml.QDomDocument.@StrictNonNull Result setContent(byte @NonNull[] text, boolean namespaceProcessing) { return setContent(new io.qt.core.QByteArray(text), namespaceProcessing); } /** *

Overloaded function for {@link #toByteArray(int)} * with arg__1 = 1.

*/ @QtUninvokable public final io.qt.core.@NonNull QByteArray toByteArray() { return toByteArray((int)1); } /** *

Overloaded function for {@link #toString(int)} * with arg__1 = 1.

*/ @QtUninvokable public final java.lang.@NonNull String toString() { return toString((int)1); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy