Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.trolltech.qt.xml
Interface QXmlDeclHandlerInterface

All Superinterfaces:
  QtJambiInterface

All Known Implementing Classes:
  QXmlDeclHandler, QXmlDefaultHandler

    public interface QXmlDeclHandlerInterface

extends QtJambiInterface

The QXmlDeclHandler class provides an interface to report declaration content of XML data. You can set the declaration handler with QXmlReader::setDeclHandler().

This interface is based on the SAX2 extension DeclHandler.

The interface provides attributeDecl(), internalEntityDecl() and externalEntityDecl() functions.

See also:
  QXmlDTDHandler, QXmlContentHandler, QXmlEntityResolver, QXmlErrorHandler, QXmlLexicalHandler, and Introduction to SAX2.

Method Summary
`boolean` | `attributeDecl(java.lang.String eName, java.lang.String aName, java.lang.String type, java.lang.String valueDefault, java.lang.String value)`
`java.lang.String` | `errorString()` The reader calls this function to get an error string if any of the handler functions returns false.
`boolean` | `externalEntityDecl(java.lang.String name, java.lang.String publicId, java.lang.String systemId)`
`boolean` | `internalEntityDecl(java.lang.String name, java.lang.String value)`

Methods inherited from interface com.trolltech.qt.QtJambiInterface
`disableGarbageCollection, nativeId, nativePointer, reenableGarbageCollection, setJavaOwnership`

Method Detail

### attributeDecl

    boolean attributeDecl(java.lang.String eName,
                          java.lang.String aName,
                          java.lang.String type,
                          java.lang.String valueDefault,
                          java.lang.String value)

### errorString

    java.lang.String errorString()

  The reader calls this function to get an error string if any of the handler functions returns false.

### externalEntityDecl

    boolean externalEntityDecl(java.lang.String name,
                               java.lang.String publicId,
                               java.lang.String systemId)

### internalEntityDecl

    boolean internalEntityDecl(java.lang.String name,
                               java.lang.String value)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD