io.qt.xml.QXmlReader Maven / Gradle / Ivy
Show all versions of qtjambi-xml Show documentation
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 = null;
@QtPropertyMember(enabled=false)
private Object __rcDTDHandler = null;
@QtPropertyMember(enabled=false)
private Object __rcDeclHandler = null;
@QtPropertyMember(enabled=false)
private Object __rcEntityResolver = null;
@QtPropertyMember(enabled=false)
private Object __rcErrorHandler = null;
@QtPropertyMember(enabled=false)
private Object __rcLexicalHandler = null;
@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){
setContentHandler_native_QXmlContentHandler_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(handler));
QtJambi_LibraryUtilities.internal.setReferenceCount(this, io.qt.xml.QXmlReader.class, "__rcContentHandler", false, false, handler);
}
@QtUninvokable
private native void setContentHandler_native_QXmlContentHandler_ptr(long __this__nativeId, long handler);
@Override
@QtUninvokable
public void setDTDHandler(io.qt.xml.@Nullable QXmlDTDHandler handler){
setDTDHandler_native_QXmlDTDHandler_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(handler));
QtJambi_LibraryUtilities.internal.setReferenceCount(this, io.qt.xml.QXmlReader.class, "__rcDTDHandler", false, false, handler);
}
@QtUninvokable
private native void setDTDHandler_native_QXmlDTDHandler_ptr(long __this__nativeId, long handler);
@Override
@QtUninvokable
public void setDeclHandler(io.qt.xml.@Nullable QXmlDeclHandler handler){
setDeclHandler_native_QXmlDeclHandler_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(handler));
QtJambi_LibraryUtilities.internal.setReferenceCount(this, io.qt.xml.QXmlReader.class, "__rcDeclHandler", false, false, handler);
}
@QtUninvokable
private native void setDeclHandler_native_QXmlDeclHandler_ptr(long __this__nativeId, long handler);
@Override
@QtUninvokable
public void setEntityResolver(io.qt.xml.@Nullable QXmlEntityResolver handler){
setEntityResolver_native_QXmlEntityResolver_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(handler));
QtJambi_LibraryUtilities.internal.setReferenceCount(this, io.qt.xml.QXmlReader.class, "__rcEntityResolver", false, false, handler);
}
@QtUninvokable
private native void setEntityResolver_native_QXmlEntityResolver_ptr(long __this__nativeId, long handler);
@Override
@QtUninvokable
public void setErrorHandler(io.qt.xml.@Nullable QXmlErrorHandler handler){
setErrorHandler_native_QXmlErrorHandler_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(handler));
QtJambi_LibraryUtilities.internal.setReferenceCount(this, io.qt.xml.QXmlReader.class, "__rcErrorHandler", false, false, handler);
}
@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){
setLexicalHandler_native_QXmlLexicalHandler_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(handler));
QtJambi_LibraryUtilities.internal.setReferenceCount(this, io.qt.xml.QXmlReader.class, "__rcLexicalHandler", false, false, handler);
}
@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
*/
@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
*/
@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
*/
@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
*/
@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
*/
@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
*/
@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
*/
@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
*/
@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*)
*/
@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*)
*/
@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*)
*/
@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*)
*/
@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*)
*/
@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*)
*/
@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)
*/
@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*)
*/
@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); }
}