io.qt.xml.QXmlDefaultHandler Maven / Gradle / Ivy
Show all versions of qtjambi-xml Show documentation
package io.qt.xml;
import io.qt.*;
/**
* Default implementation of all the XML handler classes
* Java wrapper for Qt class QXmlDefaultHandler
*/
@Deprecated
public class QXmlDefaultHandler extends QtObject
implements io.qt.xml.QXmlContentHandler,
io.qt.xml.QXmlErrorHandler,
io.qt.xml.QXmlDTDHandler,
io.qt.xml.QXmlEntityResolver,
io.qt.xml.QXmlLexicalHandler,
io.qt.xml.QXmlDeclHandler
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QXmlDefaultHandler:: QXmlDefaultHandler()
*/
public QXmlDefaultHandler(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QXmlDefaultHandler instance);
/**
* See QXmlDeclHandler:: attributeDecl(QString, QString, QString, QString, QString)
*/
@QtUninvokable
@Override
public boolean attributeDecl(java.lang.@NonNull String eName, java.lang.@NonNull String aName, java.lang.@NonNull String type, java.lang.@NonNull String valueDefault, java.lang.@NonNull String value){
return attributeDecl_native_cref_QString_cref_QString_cref_QString_cref_QString_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), eName, aName, type, valueDefault, value);
}
private native static boolean attributeDecl_native_cref_QString_cref_QString_cref_QString_cref_QString_cref_QString(long __this__nativeId, java.lang.String eName, java.lang.String aName, java.lang.String type, java.lang.String valueDefault, java.lang.String value);
/**
* See QXmlContentHandler:: characters(QString)
*/
@QtUninvokable
@Override
public boolean characters(java.lang.@NonNull String ch){
return characters_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), ch);
}
private native static boolean characters_native_cref_QString(long __this__nativeId, java.lang.String ch);
/**
* See QXmlLexicalHandler:: comment(QString)
*/
@QtUninvokable
@Override
public boolean comment(java.lang.@NonNull String ch){
return comment_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), ch);
}
private native static boolean comment_native_cref_QString(long __this__nativeId, java.lang.String ch);
/**
* See QXmlLexicalHandler:: endCDATA()
*/
@QtUninvokable
@Override
public boolean endCDATA(){
return endCDATA_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static boolean endCDATA_native(long __this__nativeId);
/**
* See QXmlLexicalHandler:: endDTD()
*/
@QtUninvokable
@Override
public boolean endDTD(){
return endDTD_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static boolean endDTD_native(long __this__nativeId);
/**
* See QXmlContentHandler:: endDocument()
*/
@QtUninvokable
@Override
public boolean endDocument(){
return endDocument_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static boolean endDocument_native(long __this__nativeId);
/**
* See QXmlContentHandler:: endElement(QString, QString, QString)
*/
@QtUninvokable
@Override
public boolean endElement(java.lang.@NonNull String namespaceURI, java.lang.@NonNull String localName, java.lang.@NonNull String qName){
return endElement_native_cref_QString_cref_QString_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), namespaceURI, localName, qName);
}
private native static boolean endElement_native_cref_QString_cref_QString_cref_QString(long __this__nativeId, java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName);
/**
* See QXmlLexicalHandler:: endEntity(QString)
*/
@QtUninvokable
@Override
public boolean endEntity(java.lang.@NonNull String name){
return endEntity_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), name);
}
private native static boolean endEntity_native_cref_QString(long __this__nativeId, java.lang.String name);
/**
* See QXmlContentHandler:: endPrefixMapping(QString)
*/
@QtUninvokable
@Override
public boolean endPrefixMapping(java.lang.@NonNull String prefix){
return endPrefixMapping_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), prefix);
}
private native static boolean endPrefixMapping_native_cref_QString(long __this__nativeId, java.lang.String prefix);
/**
* See QXmlErrorHandler:: error(QXmlParseException)
*/
@QtUninvokable
@Override
public boolean error(io.qt.xml.@NonNull QXmlParseException exception){
return error_native_cref_QXmlParseException(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(exception));
}
private native static boolean error_native_cref_QXmlParseException(long __this__nativeId, long exception);
/**
* See QXmlDeclHandler:: errorString()const
*/
@QtUninvokable
@Override
public java.lang.@NonNull String errorString(){
return errorString_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static java.lang.String errorString_native_constfct(long __this__nativeId);
/**
* See QXmlDeclHandler:: externalEntityDecl(QString, QString, QString)
*/
@QtUninvokable
@Override
public boolean externalEntityDecl(java.lang.@NonNull String name, java.lang.@NonNull String publicId, java.lang.@NonNull String systemId){
return externalEntityDecl_native_cref_QString_cref_QString_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), name, publicId, systemId);
}
private native static boolean externalEntityDecl_native_cref_QString_cref_QString_cref_QString(long __this__nativeId, java.lang.String name, java.lang.String publicId, java.lang.String systemId);
/**
* See QXmlErrorHandler:: fatalError(QXmlParseException)
*/
@QtUninvokable
@Override
public boolean fatalError(io.qt.xml.@NonNull QXmlParseException exception){
return fatalError_native_cref_QXmlParseException(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(exception));
}
private native static boolean fatalError_native_cref_QXmlParseException(long __this__nativeId, long exception);
/**
* See QXmlContentHandler:: ignorableWhitespace(QString)
*/
@QtUninvokable
@Override
public boolean ignorableWhitespace(java.lang.@NonNull String ch){
return ignorableWhitespace_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), ch);
}
private native static boolean ignorableWhitespace_native_cref_QString(long __this__nativeId, java.lang.String ch);
/**
* See QXmlDeclHandler:: internalEntityDecl(QString, QString)
*/
@QtUninvokable
@Override
public boolean internalEntityDecl(java.lang.@NonNull String name, java.lang.@NonNull String value){
return internalEntityDecl_native_cref_QString_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), name, value);
}
private native static boolean internalEntityDecl_native_cref_QString_cref_QString(long __this__nativeId, java.lang.String name, java.lang.String value);
/**
* See QXmlDTDHandler:: notationDecl(QString, QString, QString)
*/
@QtUninvokable
@Override
public boolean notationDecl(java.lang.@NonNull String name, java.lang.@NonNull String publicId, java.lang.@NonNull String systemId){
return notationDecl_native_cref_QString_cref_QString_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), name, publicId, systemId);
}
private native static boolean notationDecl_native_cref_QString_cref_QString_cref_QString(long __this__nativeId, java.lang.String name, java.lang.String publicId, java.lang.String systemId);
/**
* See QXmlContentHandler:: processingInstruction(QString, QString)
*/
@QtUninvokable
@Override
public boolean processingInstruction(java.lang.@NonNull String target, java.lang.@NonNull String data){
return processingInstruction_native_cref_QString_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), target, data);
}
private native static boolean processingInstruction_native_cref_QString_cref_QString(long __this__nativeId, java.lang.String target, java.lang.String data);
/**
* See QXmlEntityResolver:: resolveEntity(QString, QString, QXmlInputSource*&)
*/
@QtUninvokable
@Override
public io.qt.xml.QXmlEntityResolver.@StrictNonNull ResolvedEntity resolveEntity(java.lang.@NonNull String publicId, java.lang.@NonNull String systemId){
return resolveEntity_native_cref_QString_cref_QString_ref_QXmlInputSource_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), publicId, systemId);
}
private native static io.qt.xml.QXmlEntityResolver.ResolvedEntity resolveEntity_native_cref_QString_cref_QString_ref_QXmlInputSource_ptr(long __this__nativeId, java.lang.String publicId, java.lang.String systemId);
/**
* See QXmlContentHandler:: setDocumentLocator(QXmlLocator*)
*/
@QtUninvokable
@Override
public void setDocumentLocator(io.qt.xml.@Nullable QXmlLocator locator){
setDocumentLocator_native_QXmlLocator_ptr(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(locator));
}
private native static void setDocumentLocator_native_QXmlLocator_ptr(long __this__nativeId, long locator);
/**
* See QXmlContentHandler:: skippedEntity(QString)
*/
@QtUninvokable
@Override
public boolean skippedEntity(java.lang.@NonNull String name){
return skippedEntity_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), name);
}
private native static boolean skippedEntity_native_cref_QString(long __this__nativeId, java.lang.String name);
/**
* See QXmlLexicalHandler:: startCDATA()
*/
@QtUninvokable
@Override
public boolean startCDATA(){
return startCDATA_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static boolean startCDATA_native(long __this__nativeId);
/**
* See QXmlLexicalHandler:: startDTD(QString, QString, QString)
*/
@QtUninvokable
@Override
public boolean startDTD(java.lang.@NonNull String name, java.lang.@NonNull String publicId, java.lang.@NonNull String systemId){
return startDTD_native_cref_QString_cref_QString_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), name, publicId, systemId);
}
private native static boolean startDTD_native_cref_QString_cref_QString_cref_QString(long __this__nativeId, java.lang.String name, java.lang.String publicId, java.lang.String systemId);
/**
* See QXmlContentHandler:: startDocument()
*/
@QtUninvokable
@Override
public boolean startDocument(){
return startDocument_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native static boolean startDocument_native(long __this__nativeId);
/**
* See QXmlContentHandler:: startElement(QString, QString, QString, QXmlAttributes)
*/
@QtUninvokable
@Override
public boolean startElement(java.lang.@NonNull String namespaceURI, java.lang.@NonNull String localName, java.lang.@NonNull String qName, io.qt.xml.@NonNull QXmlAttributes atts){
return startElement_native_cref_QString_cref_QString_cref_QString_cref_QXmlAttributes(QtJambi_LibraryUtilities.internal.nativeId(this), namespaceURI, localName, qName, QtJambi_LibraryUtilities.internal.checkedNativeId(atts));
}
private native static boolean startElement_native_cref_QString_cref_QString_cref_QString_cref_QXmlAttributes(long __this__nativeId, java.lang.String namespaceURI, java.lang.String localName, java.lang.String qName, long atts);
/**
* See QXmlLexicalHandler:: startEntity(QString)
*/
@QtUninvokable
@Override
public boolean startEntity(java.lang.@NonNull String name){
return startEntity_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), name);
}
private native static boolean startEntity_native_cref_QString(long __this__nativeId, java.lang.String name);
/**
* See QXmlContentHandler:: startPrefixMapping(QString, QString)
*/
@QtUninvokable
@Override
public boolean startPrefixMapping(java.lang.@NonNull String prefix, java.lang.@NonNull String uri){
return startPrefixMapping_native_cref_QString_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), prefix, uri);
}
private native static boolean startPrefixMapping_native_cref_QString_cref_QString(long __this__nativeId, java.lang.String prefix, java.lang.String uri);
/**
* See QXmlDTDHandler:: unparsedEntityDecl(QString, QString, QString, QString)
*/
@QtUninvokable
@Override
public boolean unparsedEntityDecl(java.lang.@NonNull String name, java.lang.@NonNull String publicId, java.lang.@NonNull String systemId, java.lang.@NonNull String notationName){
return unparsedEntityDecl_native_cref_QString_cref_QString_cref_QString_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), name, publicId, systemId, notationName);
}
private native static boolean unparsedEntityDecl_native_cref_QString_cref_QString_cref_QString_cref_QString(long __this__nativeId, java.lang.String name, java.lang.String publicId, java.lang.String systemId, java.lang.String notationName);
/**
* See QXmlErrorHandler:: warning(QXmlParseException)
*/
@QtUninvokable
@Override
public boolean warning(io.qt.xml.@NonNull QXmlParseException exception){
return warning_native_cref_QXmlParseException(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(exception));
}
private native static boolean warning_native_cref_QXmlParseException(long __this__nativeId, long exception);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QXmlDefaultHandler(QPrivateConstructor p) { super(p); }
}