|
| | XCatHndSAXContentHandler (IPMUnknown *boss) |
| |
| virtual | ~XCatHndSAXContentHandler () |
| |
| virtual void | Register (ISAXServices *saxServices, IPMUnknown *importer) |
| |
| virtual bool16 | HandlesSubElements () const |
| |
| virtual void | Characters (const WideString &chars) |
| |
| virtual void | StartElement (const WideString &uri, const WideString &localname, const WideString &qname, ISAXAttributes *attrs) |
| |
| virtual void | EndElement (const WideString &uri, const WideString &localname, const WideString &qname) |
| |
Public Member Functions inherited from CSAXContentHandler |
| | CSAXContentHandler (IPMUnknown *boss) |
| |
| virtual void | StartDocument (ISAXServices *saxServices) |
| |
| virtual void | EndDocument () |
| |
| virtual void | StartPrefixMapping (const WideString &prefix, const WideString &uri) |
| |
| virtual void | EndPrefixMapping (const WideString &prefix) |
| |
| virtual void | IgnorableWhitespace (const WideString &chars) |
| |
| virtual void | ProcessingInstruction (const WideString &target, const WideString &data) |
| |
| virtual void | SkippedEntity (const WideString &name) |
| |
| virtual void | ExtComment (const WideString &comment) |
| |
| virtual void | ExtXMLDecl (const WideString &version, const WideString &encoding, const WideString &standalone, const WideString &actualEncoding) |
| |
| virtual void | SetDocumentLocator (ISAXLocator *locator) |
| |
| virtual ISAXLocator * | GetDocumentLocator () const |
| |
| IPMUnknown * | QueryInterface (PMIID interfaceID) const |
| |
| void | AddRef () const |
| |
| void | Release () const |
| |
| void | PreDirty (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue) |
| |
| void | PreDirtyNoMessage (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue) |
| |
| | CPMUnknown (const CPMUnknown &)=delete |
| |
| CPMUnknown & | operator= (const CPMUnknown &)=delete |
| |
|
Public Types inherited from ISAXContentHandler |
| enum | { kDefaultIID = IID_ISAXCONTENTHANDLER } |
| |
Protected Member Functions inherited from CSAXContentHandler |
| bool16 | HasAttribute (ISAXAttributes *attrs, const PMString &key) |
| |
| bool16 | HasAttribute (ISAXAttributes *attrs, const WideString &key) |
| |
| PMString | GetAttributeString (ISAXAttributes *attrs, const PMString &key, const PMString &defaultValue="") |
| |
| WideString | GetAttributeString (ISAXAttributes *attrs, const WideString &key, const WideString *defaultValue=nil) |
| |
| bool16 | GetAttributeBool (ISAXAttributes *attrs, const PMString &key, bool16 defaultValue=kFalse) |
| |
| bool16 | GetAttributeBool (ISAXAttributes *attrs, const WideString &key, bool16 defaultValue=kFalse) |
| |
| int32 | GetAttributeInt (ISAXAttributes *attrs, const PMString &key, int32 defaultValue=0) |
| |
| int32 | GetAttributeInt (ISAXAttributes *attrs, const WideString &key, int32 defaultValue=0) |
| |
| HelperInterface | fHelperInterface |
| |
Implement a SAX content handler that reads info from an XML Catalog file.
For the spec for this see: http://www.oasis-open.org/committees/entity/spec.html
This content came from the spec:
"An XML catalog can be used in two different, independent ways:
- it can be used to locate the replacement text for an external entity,
- it can be used to locate an alternate URI reference for a resource.
Although these functions are similar in nature, they are distinct and exercise two different sets of entries in the catalog."
We are using it here to locate a SYSTEM URI given a PUBLIC identifier.
| XCatHndSAXContentHandler::XCatHndSAXContentHandler | ( | IPMUnknown * | boss | ) | |
Constructor
- Parameters
| boss | ptr to boss object on which interface we implement is aggregated |
Elements we can expect: : catalog,
delegatePublic, delegateSystem, delegateURI, group, nextCatalog, public, rewriteSystem, rewriteURI, system, uri