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

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

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

import io.qt.*;


/**
 * 

Interface for XML readers (i.e. parsers)

*

Java wrapper for Qt class QXmlReader

* * @deprecated Use QXmlStreamReader */ @Deprecated public abstract class QXmlReader extends QtObject { static { QtJambi_LibraryUtilities.initialize(); } @QtPropertyMember(enabled=false) private Object __rcContentHandler; @QtPropertyMember(enabled=false) private Object __rcDTDHandler; @QtPropertyMember(enabled=false) private Object __rcDeclHandler; @QtPropertyMember(enabled=false) private Object __rcEntityResolver; @QtPropertyMember(enabled=false) private Object __rcErrorHandler; @QtPropertyMember(enabled=false) private Object __rcLexicalHandler; @NativeAccess private static final class ConcreteWrapper extends QXmlReader { @NativeAccess private ConcreteWrapper(QPrivateConstructor p) { super(p); } @Override @QtUninvokable public io.qt.xml.@Nullable QXmlDTDHandler DTDHandler(){ return DTDHandler_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.xml.QXmlDTDHandler DTDHandler_native_constfct(long __this__nativeId); @Override @QtUninvokable public io.qt.xml.@Nullable QXmlContentHandler contentHandler(){ return contentHandler_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.xml.QXmlContentHandler contentHandler_native_constfct(long __this__nativeId); @Override @QtUninvokable public io.qt.xml.@Nullable QXmlDeclHandler declHandler(){ return declHandler_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.xml.QXmlDeclHandler declHandler_native_constfct(long __this__nativeId); @Override @QtUninvokable public io.qt.xml.@Nullable QXmlEntityResolver entityResolver(){ return entityResolver_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.xml.QXmlEntityResolver entityResolver_native_constfct(long __this__nativeId); @Override @QtUninvokable public io.qt.xml.@Nullable QXmlErrorHandler errorHandler(){ return errorHandler_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.xml.QXmlErrorHandler errorHandler_native_constfct(long __this__nativeId); @Override @QtUninvokable public java.lang.@Nullable Boolean feature(java.lang.@NonNull String name){ return feature_native_cref_QString_bool_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), name); } @QtUninvokable private native java.lang.@Nullable Boolean feature_native_cref_QString_bool_ptr_constfct(long __this__nativeId, java.lang.String name); @Override @QtUninvokable public boolean hasFeature(java.lang.@NonNull String name){ return hasFeature_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), name); } @QtUninvokable private native boolean hasFeature_native_cref_QString_constfct(long __this__nativeId, java.lang.String name); @Override @QtUninvokable public io.qt.xml.@Nullable QXmlLexicalHandler lexicalHandler(){ return lexicalHandler_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.xml.QXmlLexicalHandler lexicalHandler_native_constfct(long __this__nativeId); @Override @QtUninvokable public boolean parse(io.qt.xml.@Nullable QXmlInputSource input){ return parse_native_const_QXmlInputSource_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(input)); } @QtUninvokable private native boolean parse_native_const_QXmlInputSource_ptr(long __this__nativeId, long input); @Override @QtUninvokable public void setContentHandler(io.qt.xml.@Nullable QXmlContentHandler handler){ InternalAccess.NativeIdInfo __handler__NativeIdInfo = QtJambi_LibraryUtilities.internal.checkedNativeIdInfo(handler); setContentHandler_native_QXmlContentHandler_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), __handler__NativeIdInfo.nativeId()); if (__handler__NativeIdInfo.needsReferenceCounting()) { QtJambi_LibraryUtilities.internal.setReferenceCount(this, io.qt.xml.QXmlReader.class, "__rcContentHandler", false, false, handler); }else{ QtJambi_LibraryUtilities.internal.setReferenceCount(this, io.qt.xml.QXmlReader.class, "__rcContentHandler", false, false, null); } } @QtUninvokable private native void setContentHandler_native_QXmlContentHandler_ptr(long __this__nativeId, long handler); @Override @QtUninvokable public void setDTDHandler(io.qt.xml.@Nullable QXmlDTDHandler handler){ InternalAccess.NativeIdInfo __handler__NativeIdInfo = QtJambi_LibraryUtilities.internal.checkedNativeIdInfo(handler); setDTDHandler_native_QXmlDTDHandler_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), __handler__NativeIdInfo.nativeId()); if (__handler__NativeIdInfo.needsReferenceCounting()) { QtJambi_LibraryUtilities.internal.setReferenceCount(this, io.qt.xml.QXmlReader.class, "__rcDTDHandler", false, false, handler); }else{ QtJambi_LibraryUtilities.internal.setReferenceCount(this, io.qt.xml.QXmlReader.class, "__rcDTDHandler", false, false, null); } } @QtUninvokable private native void setDTDHandler_native_QXmlDTDHandler_ptr(long __this__nativeId, long handler); @Override @QtUninvokable public void setDeclHandler(io.qt.xml.@Nullable QXmlDeclHandler handler){ InternalAccess.NativeIdInfo __handler__NativeIdInfo = QtJambi_LibraryUtilities.internal.checkedNativeIdInfo(handler); setDeclHandler_native_QXmlDeclHandler_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), __handler__NativeIdInfo.nativeId()); if (__handler__NativeIdInfo.needsReferenceCounting()) { QtJambi_LibraryUtilities.internal.setReferenceCount(this, io.qt.xml.QXmlReader.class, "__rcDeclHandler", false, false, handler); }else{ QtJambi_LibraryUtilities.internal.setReferenceCount(this, io.qt.xml.QXmlReader.class, "__rcDeclHandler", false, false, null); } } @QtUninvokable private native void setDeclHandler_native_QXmlDeclHandler_ptr(long __this__nativeId, long handler); @Override @QtUninvokable public void setEntityResolver(io.qt.xml.@Nullable QXmlEntityResolver handler){ InternalAccess.NativeIdInfo __handler__NativeIdInfo = QtJambi_LibraryUtilities.internal.checkedNativeIdInfo(handler); setEntityResolver_native_QXmlEntityResolver_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), __handler__NativeIdInfo.nativeId()); if (__handler__NativeIdInfo.needsReferenceCounting()) { QtJambi_LibraryUtilities.internal.setReferenceCount(this, io.qt.xml.QXmlReader.class, "__rcEntityResolver", false, false, handler); }else{ QtJambi_LibraryUtilities.internal.setReferenceCount(this, io.qt.xml.QXmlReader.class, "__rcEntityResolver", false, false, null); } } @QtUninvokable private native void setEntityResolver_native_QXmlEntityResolver_ptr(long __this__nativeId, long handler); @Override @QtUninvokable public void setErrorHandler(io.qt.xml.@Nullable QXmlErrorHandler handler){ InternalAccess.NativeIdInfo __handler__NativeIdInfo = QtJambi_LibraryUtilities.internal.checkedNativeIdInfo(handler); setErrorHandler_native_QXmlErrorHandler_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), __handler__NativeIdInfo.nativeId()); if (__handler__NativeIdInfo.needsReferenceCounting()) { QtJambi_LibraryUtilities.internal.setReferenceCount(this, io.qt.xml.QXmlReader.class, "__rcErrorHandler", false, false, handler); }else{ QtJambi_LibraryUtilities.internal.setReferenceCount(this, io.qt.xml.QXmlReader.class, "__rcErrorHandler", false, false, null); } } @QtUninvokable private native void setErrorHandler_native_QXmlErrorHandler_ptr(long __this__nativeId, long handler); @Override @QtUninvokable public void setFeature(java.lang.@NonNull String name, boolean value){ setFeature_native_cref_QString_bool(QtJambi_LibraryUtilities.internal.nativeId(this), name, value); } @QtUninvokable private native void setFeature_native_cref_QString_bool(long __this__nativeId, java.lang.String name, boolean value); @Override @QtUninvokable public void setLexicalHandler(io.qt.xml.@Nullable QXmlLexicalHandler handler){ InternalAccess.NativeIdInfo __handler__NativeIdInfo = QtJambi_LibraryUtilities.internal.checkedNativeIdInfo(handler); setLexicalHandler_native_QXmlLexicalHandler_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), __handler__NativeIdInfo.nativeId()); if (__handler__NativeIdInfo.needsReferenceCounting()) { QtJambi_LibraryUtilities.internal.setReferenceCount(this, io.qt.xml.QXmlReader.class, "__rcLexicalHandler", false, false, handler); }else{ QtJambi_LibraryUtilities.internal.setReferenceCount(this, io.qt.xml.QXmlReader.class, "__rcLexicalHandler", false, false, null); } } @QtUninvokable private native void setLexicalHandler_native_QXmlLexicalHandler_ptr(long __this__nativeId, long handler); } /** *

See QXmlReader::QXmlReader()

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

See QXmlReader::DTDHandler()const

* @return */ @QtUninvokable public abstract io.qt.xml.@Nullable QXmlDTDHandler DTDHandler(); @QtUninvokable private native io.qt.xml.QXmlDTDHandler DTDHandler_native_constfct(long __this__nativeId); /** *

See QXmlReader::contentHandler()const

* @return */ @QtUninvokable public abstract io.qt.xml.@Nullable QXmlContentHandler contentHandler(); @QtUninvokable private native io.qt.xml.QXmlContentHandler contentHandler_native_constfct(long __this__nativeId); /** *

See QXmlReader::declHandler()const

* @return */ @QtUninvokable public abstract io.qt.xml.@Nullable QXmlDeclHandler declHandler(); @QtUninvokable private native io.qt.xml.QXmlDeclHandler declHandler_native_constfct(long __this__nativeId); /** *

See QXmlReader::entityResolver()const

* @return */ @QtUninvokable public abstract io.qt.xml.@Nullable QXmlEntityResolver entityResolver(); @QtUninvokable private native io.qt.xml.QXmlEntityResolver entityResolver_native_constfct(long __this__nativeId); /** *

See QXmlReader::errorHandler()const

* @return */ @QtUninvokable public abstract io.qt.xml.@Nullable QXmlErrorHandler errorHandler(); @QtUninvokable private native io.qt.xml.QXmlErrorHandler errorHandler_native_constfct(long __this__nativeId); /** *

See QXmlReader::feature(QString,bool*)const

* @param name * @return */ @QtUninvokable public abstract java.lang.@Nullable Boolean feature(java.lang.@NonNull String name); @QtUninvokable private native java.lang.@Nullable Boolean feature_native_cref_QString_bool_ptr_constfct(long __this__nativeId, java.lang.String name); /** *

See QXmlReader::hasFeature(QString)const

* @param name * @return */ @QtUninvokable public abstract boolean hasFeature(java.lang.@NonNull String name); @QtUninvokable private native boolean hasFeature_native_cref_QString_constfct(long __this__nativeId, java.lang.String name); /** *

See QXmlReader::lexicalHandler()const

* @return */ @QtUninvokable public abstract io.qt.xml.@Nullable QXmlLexicalHandler lexicalHandler(); @QtUninvokable private native io.qt.xml.QXmlLexicalHandler lexicalHandler_native_constfct(long __this__nativeId); /** *

See QXmlReader::parse(const QXmlInputSource*)

* @param input * @return */ @QtUninvokable public abstract boolean parse(io.qt.xml.@Nullable QXmlInputSource input); @QtUninvokable private native boolean parse_native_const_QXmlInputSource_ptr(long __this__nativeId, long input); /** *

See QXmlReader::setContentHandler(QXmlContentHandler*)

* @param handler */ @QtUninvokable public abstract void setContentHandler(io.qt.xml.@Nullable QXmlContentHandler handler); @QtUninvokable private native void setContentHandler_native_QXmlContentHandler_ptr(long __this__nativeId, long handler); /** *

See QXmlReader::setDTDHandler(QXmlDTDHandler*)

* @param handler */ @QtUninvokable public abstract void setDTDHandler(io.qt.xml.@Nullable QXmlDTDHandler handler); @QtUninvokable private native void setDTDHandler_native_QXmlDTDHandler_ptr(long __this__nativeId, long handler); /** *

See QXmlReader::setDeclHandler(QXmlDeclHandler*)

* @param handler */ @QtUninvokable public abstract void setDeclHandler(io.qt.xml.@Nullable QXmlDeclHandler handler); @QtUninvokable private native void setDeclHandler_native_QXmlDeclHandler_ptr(long __this__nativeId, long handler); /** *

See QXmlReader::setEntityResolver(QXmlEntityResolver*)

* @param handler */ @QtUninvokable public abstract void setEntityResolver(io.qt.xml.@Nullable QXmlEntityResolver handler); @QtUninvokable private native void setEntityResolver_native_QXmlEntityResolver_ptr(long __this__nativeId, long handler); /** *

See QXmlReader::setErrorHandler(QXmlErrorHandler*)

* @param handler */ @QtUninvokable public abstract void setErrorHandler(io.qt.xml.@Nullable QXmlErrorHandler handler); @QtUninvokable private native void setErrorHandler_native_QXmlErrorHandler_ptr(long __this__nativeId, long handler); /** *

See QXmlReader::setFeature(QString,bool)

* @param name * @param value */ @QtUninvokable public abstract void setFeature(java.lang.@NonNull String name, boolean value); @QtUninvokable private native void setFeature_native_cref_QString_bool(long __this__nativeId, java.lang.String name, boolean value); /** *

See QXmlReader::setLexicalHandler(QXmlLexicalHandler*)

* @param handler */ @QtUninvokable public abstract void setLexicalHandler(io.qt.xml.@Nullable QXmlLexicalHandler handler); @QtUninvokable private native void setLexicalHandler_native_QXmlLexicalHandler_ptr(long __this__nativeId, long handler); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QXmlReader(QPrivateConstructor p) { super(p); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy