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; /** *

See QDomDocument::QDomDocument()

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

See QDomDocument::QDomDocument(QDomDocument)

* @param x */ 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)

* @param doctype */ 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)

* @param name */ 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)

* @param name * @return */ @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)

* @param nsURI * @param qName * @return */ @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)

* @param data * @return */ @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)

* @param data * @return */ @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()

* @return */ @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)

* @param tagName * @return */ @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)

* @param nsURI * @param qName * @return */ @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)

* @param name * @return */ @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)

* @param target * @param data * @return */ @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)

* @param data * @return */ @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

* @return */ @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

* @return */ @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)

* @param elementId * @return */ @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

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

* @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(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

* @return */ @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)

* @param importedNode * @param deep * @return */ @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)

* @param arg__1 */ @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*)

* @param text * @return */ @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*)

* @param text * @param namespaceProcessing * @return */ @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*)

* @param dev * @return */ @QtUninvokable public final io.qt.xml.QDomDocument.@StrictNonNull Result setContent(io.qt.core.@Nullable QIODevice dev){ InternalAccess.NativeIdInfo __dev__NativeIdInfo = QtJambi_LibraryUtilities.internal.checkedNativeIdInfo(dev); io.qt.xml.QDomDocument.Result __qt_return_value = setContent_native_QIODevice_ptr_QString_ptr_int_ptr_int_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), __dev__NativeIdInfo.nativeId()); if (__dev__NativeIdInfo.needsReferenceCounting()) { __rcContent = dev; }else{ __rcContent = null; } 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*)

* @param dev * @param namespaceProcessing * @return */ @QtUninvokable public final io.qt.xml.QDomDocument.@StrictNonNull Result setContent(io.qt.core.@Nullable QIODevice dev, boolean namespaceProcessing){ InternalAccess.NativeIdInfo __dev__NativeIdInfo = QtJambi_LibraryUtilities.internal.checkedNativeIdInfo(dev); io.qt.xml.QDomDocument.Result __qt_return_value = setContent_native_QIODevice_ptr_bool_QString_ptr_int_ptr_int_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), __dev__NativeIdInfo.nativeId(), namespaceProcessing); if (__dev__NativeIdInfo.needsReferenceCounting()) { __rcContent = dev; }else{ __rcContent = null; } 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*)

* @param text * @return */ @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*)

* @param text * @param namespaceProcessing * @return */ @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*)

* @param source * @param reader * @return */ @QtUninvokable public final io.qt.xml.QDomDocument.@StrictNonNull Result setContent(io.qt.xml.@Nullable QXmlInputSource source, io.qt.xml.@Nullable QXmlReader reader){ InternalAccess.NativeIdInfo __source__NativeIdInfo = QtJambi_LibraryUtilities.internal.checkedNativeIdInfo(source); 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), __source__NativeIdInfo.nativeId(), QtJambi_LibraryUtilities.internal.checkedNativeId(reader)); if (__source__NativeIdInfo.needsReferenceCounting()) { __rcContent = source; }else{ __rcContent = null; } 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*)

* @since This function was introduced in Qt 4.5. * @param source * @param namespaceProcessing * @return */ @QtUninvokable public final io.qt.xml.QDomDocument.@StrictNonNull Result setContent(io.qt.xml.@Nullable QXmlInputSource source, boolean namespaceProcessing){ InternalAccess.NativeIdInfo __source__NativeIdInfo = QtJambi_LibraryUtilities.internal.checkedNativeIdInfo(source); io.qt.xml.QDomDocument.Result __qt_return_value = setContent_native_QXmlInputSource_ptr_bool_QString_ptr_int_ptr_int_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), __source__NativeIdInfo.nativeId(), namespaceProcessing); if (__source__NativeIdInfo.needsReferenceCounting()) { __rcContent = source; }else{ __rcContent = null; } 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*)

* @since This function was introduced in Qt 5.15. * @param reader * @param namespaceProcessing * @return */ @QtUninvokable public final io.qt.xml.QDomDocument.@StrictNonNull Result setContent(io.qt.core.@Nullable QXmlStreamReader reader, boolean namespaceProcessing){ InternalAccess.NativeIdInfo __reader__NativeIdInfo = QtJambi_LibraryUtilities.internal.checkedNativeIdInfo(reader); io.qt.xml.QDomDocument.Result __qt_return_value = setContent_native_QXmlStreamReader_ptr_bool_QString_ptr_int_ptr_int_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), __reader__NativeIdInfo.nativeId(), namespaceProcessing); if (__reader__NativeIdInfo.needsReferenceCounting()) { __rcContent = reader; }else{ __rcContent = null; } 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

* @param arg__1 * @return */ @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

* @param arg__1 * @return */ @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