![]() | InDesign SDK 20.5 |
#include <ISAXDOMSerializerServices.h>

Public Types | |
| enum | { kDefaultIID = IID_ISAXDOMSERIALIZERSERVICES } |
Class responsible for serialization of a document DOM. Clients pass in custom handlers. SAX (Simple API for XML) specifies an abstract set of interfaces a conforming serializer should implement.
| pure virtual |
Peek at the parsing context information on the top of the stack. This does not remove the context information from the stack. Useful for examining parent information.
| pure virtual |
Return the default content handler that was supplied at the beginning of the serialization. This is only valid during a serialization. Otherwise this will return nil.
| pure virtual |
Remove the specified set of parsing context information on a stack.
| pure virtual |
Save the specified set of parsing context information on a stack. When parsing an imported XML file parent/child element parsing information is maintained on this stack. For example StartElement pushes the current parsing context information on the stack before creating a new element.
| parsingContext | a set of parsing context information, usually the current information. |
| pure virtual |
Return the content handler registered for this attribute.
| uri | the uri (namespace) of the attribute |
| localName | the unqualifed portion of the attribute |
| pure virtual |
Returns the current parsing context information. This includes the current element, tag name, child index, story reference, and text insertion position. Additional parsing context information can be accessed via this interface if content handlers have data interfaces to kXMLParsingLocatorBoss.
| pure virtual |
Return the content handler registered for this element tag name.
| uri | the uri (namespace) of the tag name |
| localName | the unqualifed portion of the tag name |
| pure virtual |
Return the content handler registered for this processing instruction target name.
| targetName | the name of the target |
| pure virtual |
Register a content handler for a given attribute. When the serialization encounters an element with the specified attribute it will use this content handler to deal with it.
| uri | the uri (namespace) of the attribute |
| localName | the unqualifed portion of the attribute |
| handler | an instance of ISAXDOMSerializerHandler that handle this element |
| pure virtual |
Register a content handler for a given element. When the serialization encounters an element with the specified name it will use this content handler to deal with it.
| uri | the uri (namespace) of the tag name |
| localName | the unqualifed portion of the tag name |
| handler | an instance of ISAXDOMSerializerHandler that handle this element |
| pure virtual |
Register a content handler for a given processing instruction target. When the serialization encounters a PI with the specified target name it will use this content handler to deal with it.
| targetName | the name of the processing instruction target |
| handler | an instance of ISAXDOMSerializerHandler that handle this PI |
| pure virtual |
Serialize the incoming document DOM, calling out to the DOMSerializerHandler as elements are encountered.
| documentDOM | specifies the document DOM to be serialzied. |
| defaultHandler | the default DOMSerializerHandler. |
| progressBar | the progress bar to use when importing XML content. |