29 #ifndef Pt_Xml_XmlResolver_h
30 #define Pt_Xml_XmlResolver_h
32 #include <Pt/Xml/Api.h>
33 #include <Pt/Xml/XmlError.h>
34 #include <Pt/String.h>
35 #include <Pt/TextCodec.h>
116 #endif // Pt_Xml_XmlResolver_h
XML byte order mark.
Definition: ByteorderMark.h:40
InputSource * resolveInput(const Pt::String &publicId, const Pt::String &systemId)
Returns an input source for the given IDs.
Definition: XmlResolver.h:63
virtual TextCodec< Char, char > * onResolveEncoding(const ByteorderMark &bom, const XmlDeclaration &decl)
Returns a text codec for an encoding string.
Definition: XmlResolver.h:107
TextCodec< Char, char > * resolveEncoding(const ByteorderMark &bom, const XmlDeclaration &decl)
Returns a text codec for an encoding string.
Definition: XmlResolver.h:81
XML declaration of an XML document.
Definition: XmlDeclaration.h:42
virtual InputSource * onResolveInput(const Pt::String &publicId, const Pt::String &systemId)=0
Returns an input source for the given IDs.
virtual ~XmlResolver()
Destructor.
Definition: XmlResolver.h:58
Unicode capable basic_string.
Definition: String.h:42
Resolves external entities and DTDs.
Definition: XmlResolver.h:53
void releaseInput(InputSource *is)
Releases an input source resolved by this resolver.
Definition: XmlResolver.h:71
virtual void onReleaseInput(InputSource *is)=0
Releases an input source resolved by this resolver.
XmlResolver()
Default constructor.
Definition: XmlResolver.h:90