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

io.qt.core.QRegularExpressionMatch Maven / Gradle / Ivy

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

import io.qt.*;


/**
 * 

The results of a matching a QRegularExpression against a string

*

Java wrapper for Qt class QRegularExpressionMatch

*/ public class QRegularExpressionMatch extends QtObject { static { QtJambi_LibraryUtilities.initialize(); } /** *

See QRegularExpressionMatch::QRegularExpressionMatch()

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

See QRegularExpressionMatch::captured(QString)const

*/ @QtUninvokable public final java.lang.@NonNull String captured(java.lang.@NonNull String name){ return captured_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), name); } @QtUninvokable private native java.lang.String captured_native_cref_QString_constfct(long __this__nativeId, java.lang.String name); /** *

See QRegularExpressionMatch::captured(int)const

*/ @QtUninvokable public final java.lang.@NonNull String captured(int nth){ return captured_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), nth); } @QtUninvokable private native java.lang.String captured_native_int_constfct(long __this__nativeId, int nth); /** *

See QRegularExpressionMatch::capturedEnd(QString)const

*/ @QtUninvokable public final long capturedEnd(java.lang.@NonNull String name){ return capturedEnd_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), name); } @QtUninvokable private native long capturedEnd_native_cref_QString_constfct(long __this__nativeId, java.lang.String name); /** *

See QRegularExpressionMatch::capturedEnd(int)const

*/ @QtUninvokable public final long capturedEnd(int nth){ return capturedEnd_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), nth); } @QtUninvokable private native long capturedEnd_native_int_constfct(long __this__nativeId, int nth); /** *

See QRegularExpressionMatch::capturedLength(QString)const

*/ @QtUninvokable public final long capturedLength(java.lang.@NonNull String name){ return capturedLength_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), name); } @QtUninvokable private native long capturedLength_native_cref_QString_constfct(long __this__nativeId, java.lang.String name); /** *

See QRegularExpressionMatch::capturedLength(int)const

*/ @QtUninvokable public final long capturedLength(int nth){ return capturedLength_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), nth); } @QtUninvokable private native long capturedLength_native_int_constfct(long __this__nativeId, int nth); /** *

See QRegularExpressionMatch::capturedStart(QString)const

*/ @QtUninvokable public final long capturedStart(java.lang.@NonNull String name){ return capturedStart_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), name); } @QtUninvokable private native long capturedStart_native_cref_QString_constfct(long __this__nativeId, java.lang.String name); /** *

See QRegularExpressionMatch::capturedStart(int)const

*/ @QtUninvokable public final long capturedStart(int nth){ return capturedStart_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), nth); } @QtUninvokable private native long capturedStart_native_int_constfct(long __this__nativeId, int nth); /** *

See QRegularExpressionMatch::capturedTexts()const

*/ @QtUninvokable public final io.qt.core.@NonNull QStringList capturedTexts(){ return capturedTexts_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QStringList capturedTexts_native_constfct(long __this__nativeId); /** *

See QRegularExpressionMatch::hasCaptured(QString)const

*/ @QtUninvokable public final boolean hasCaptured(java.lang.@NonNull String name){ return hasCaptured_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), name); } @QtUninvokable private native boolean hasCaptured_native_cref_QString_constfct(long __this__nativeId, java.lang.String name); /** *

See QRegularExpressionMatch::hasCaptured(int)const

*/ @QtUninvokable public final boolean hasCaptured(int nth){ return hasCaptured_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), nth); } @QtUninvokable private native boolean hasCaptured_native_int_constfct(long __this__nativeId, int nth); /** *

See QRegularExpressionMatch::hasMatch()const

*/ @QtUninvokable public final boolean hasMatch(){ return hasMatch_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean hasMatch_native_constfct(long __this__nativeId); /** *

See QRegularExpressionMatch::hasPartialMatch()const

*/ @QtUninvokable public final boolean hasPartialMatch(){ return hasPartialMatch_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean hasPartialMatch_native_constfct(long __this__nativeId); /** *

See QRegularExpressionMatch::isValid()const

*/ @QtUninvokable public final boolean isValid(){ return isValid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isValid_native_constfct(long __this__nativeId); /** *

See QRegularExpressionMatch::lastCapturedIndex()const

*/ @QtUninvokable public final int lastCapturedIndex(){ return lastCapturedIndex_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int lastCapturedIndex_native_constfct(long __this__nativeId); /** *

See QRegularExpressionMatch::matchOptions()const

*/ @QtUninvokable public final io.qt.core.QRegularExpression.@NonNull MatchOptions matchOptions(){ return new io.qt.core.QRegularExpression.MatchOptions(matchOptions_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int matchOptions_native_constfct(long __this__nativeId); /** *

See QRegularExpressionMatch::matchType()const

*/ @QtUninvokable public final io.qt.core.QRegularExpression.@NonNull MatchType matchType(){ return io.qt.core.QRegularExpression.MatchType.resolve(matchType_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this))); } @QtUninvokable private native int matchType_native_constfct(long __this__nativeId); /** *

See QRegularExpressionMatch::operator=(QRegularExpressionMatch)

*/ @QtUninvokable public final void assign(io.qt.core.@NonNull QRegularExpressionMatch match){ assign_native_cref_QRegularExpressionMatch(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(match)); } @QtUninvokable private native void assign_native_cref_QRegularExpressionMatch(long __this__nativeId, long match); /** *

See QRegularExpressionMatch::regularExpression()const

*/ @QtUninvokable public final io.qt.core.@NonNull QRegularExpression regularExpression(){ return regularExpression_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QRegularExpression regularExpression_native_constfct(long __this__nativeId); /** *

See QRegularExpressionMatch::swap(QRegularExpressionMatch&)

*/ @QtUninvokable public final void swap(io.qt.core.@StrictNonNull QRegularExpressionMatch other){ java.util.Objects.requireNonNull(other, "Argument 'other': null not expected."); swap_native_ref_QRegularExpressionMatch(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native void swap_native_ref_QRegularExpressionMatch(long __this__nativeId, long other); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QRegularExpressionMatch(QPrivateConstructor p) { super(p); } /** *

See operator<<(QDebug,QRegularExpressionMatch)

*/ @QtUninvokable @Override public @NonNull String toString() { return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private static native String toString_native(long __this_nativeId); /** *

Overloaded function for {@link #captured(int)} * with nth = 0.

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

Overloaded function for {@link #capturedEnd(int)} * with nth = 0.

*/ @QtUninvokable public final long capturedEnd() { return capturedEnd((int)0); } /** *

Overloaded function for {@link #capturedLength(int)} * with nth = 0.

*/ @QtUninvokable public final long capturedLength() { return capturedLength((int)0); } /** *

Overloaded function for {@link #capturedStart(int)} * with nth = 0.

*/ @QtUninvokable public final long capturedStart() { return capturedStart((int)0); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy