|
||||
File indexing completed on 2025-01-18 10:14:57
0001 /* 0002 * Licensed to the Apache Software Foundation (ASF) under one or more 0003 * contributor license agreements. See the NOTICE file distributed with 0004 * this work for additional information regarding copyright ownership. 0005 * The ASF licenses this file to You under the Apache License, Version 2.0 0006 * (the "License"); you may not use this file except in compliance with 0007 * the License. You may obtain a copy of the License at 0008 * 0009 * http://www.apache.org/licenses/LICENSE-2.0 0010 * 0011 * Unless required by applicable law or agreed to in writing, software 0012 * distributed under the License is distributed on an "AS IS" BASIS, 0013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 0014 * See the License for the specific language governing permissions and 0015 * limitations under the License. 0016 */ 0017 0018 /* 0019 * $Id$ 0020 */ 0021 0022 #if !defined(XERCESC_INCLUDE_GUARD_DEFAULTHANDLER_HPP) 0023 #define XERCESC_INCLUDE_GUARD_DEFAULTHANDLER_HPP 0024 0025 #include <xercesc/sax2/ContentHandler.hpp> 0026 #include <xercesc/sax2/LexicalHandler.hpp> 0027 #include <xercesc/sax2/DeclHandler.hpp> 0028 #include <xercesc/sax/DTDHandler.hpp> 0029 #include <xercesc/sax/EntityResolver.hpp> 0030 #include <xercesc/sax/ErrorHandler.hpp> 0031 #include <xercesc/sax/SAXParseException.hpp> 0032 0033 XERCES_CPP_NAMESPACE_BEGIN 0034 0035 class Locator; 0036 class Attributes; 0037 0038 /** 0039 * Default base class for SAX2 handlers. 0040 * 0041 * <p>This class implements the default behaviour for SAX2 0042 * interfaces: EntityResolver, DTDHandler, ContentHandler, 0043 * ErrorHandler, LexicalHandler, and DeclHandler.</p> 0044 * 0045 * <p>Application writers can extend this class when they need to 0046 * implement only part of an interface; parser writers can 0047 * instantiate this class to provide default handlers when the 0048 * application has not supplied its own.</p> 0049 * 0050 * <p>Note that the use of this class is optional.</p> 0051 * 0052 * @see EntityResolver#EntityResolver 0053 * @see DTDHandler#DTDHandler 0054 * @see ContentHandler#ContentHandler 0055 * @see ErrorHandler#ErrorHandler 0056 * @see LexicalHandler#LexicalHandler 0057 * @see DeclHandler#DeclHandler 0058 */ 0059 0060 class SAX2_EXPORT DefaultHandler : 0061 0062 public EntityResolver, 0063 public DTDHandler, 0064 public ContentHandler, 0065 public ErrorHandler, 0066 public LexicalHandler, 0067 public DeclHandler 0068 { 0069 public: 0070 /** @name Default handlers for the DocumentHandler interface */ 0071 //@{ 0072 /** 0073 * Receive notification of character data inside an element. 0074 * 0075 * <p>By default, do nothing. Application writers may override this 0076 * method to take specific actions for each chunk of character data 0077 * (such as adding the data to a node or buffer, or printing it to 0078 * a file).</p> 0079 * 0080 * @param chars The characters. 0081 * @param length The number of characters to use from the 0082 * character array. 0083 * @exception SAXException Any SAX exception, possibly 0084 * wrapping another exception. 0085 * @see DocumentHandler#characters 0086 */ 0087 virtual void characters 0088 ( 0089 const XMLCh* const chars 0090 , const XMLSize_t length 0091 ); 0092 0093 /** 0094 * Receive notification of the end of the document. 0095 * 0096 * <p>By default, do nothing. Application writers may override this 0097 * method in a subclass to take specific actions at the beginning 0098 * of a document (such as finalising a tree or closing an output 0099 * file).</p> 0100 * 0101 * @exception SAXException Any SAX exception, possibly 0102 * wrapping another exception. 0103 * @see DocumentHandler#endDocument 0104 */ 0105 virtual void endDocument(); 0106 0107 /** 0108 * Receive notification of the end of an element. 0109 * 0110 * <p>By default, do nothing. Application writers may override this 0111 * method in a subclass to take specific actions at the end of 0112 * each element (such as finalising a tree node or writing 0113 * output to a file).</p> 0114 * 0115 * @param uri The URI of the associated namespace for this element 0116 * @param localname The local part of the element name 0117 * @param qname The QName of this element 0118 * @exception SAXException Any SAX exception, possibly 0119 * wrapping another exception. 0120 * @see DocumentHandler#endElement 0121 */ 0122 virtual void endElement 0123 ( 0124 const XMLCh* const uri, 0125 const XMLCh* const localname, 0126 const XMLCh* const qname 0127 ); 0128 0129 /** 0130 * Receive notification of ignorable whitespace in element content. 0131 * 0132 * <p>By default, do nothing. Application writers may override this 0133 * method to take specific actions for each chunk of ignorable 0134 * whitespace (such as adding data to a node or buffer, or printing 0135 * it to a file).</p> 0136 * 0137 * @param chars The whitespace characters. 0138 * @param length The number of characters to use from the 0139 * character array. 0140 * @exception SAXException Any SAX exception, possibly 0141 * wrapping another exception. 0142 * @see DocumentHandler#ignorableWhitespace 0143 */ 0144 virtual void ignorableWhitespace 0145 ( 0146 const XMLCh* const chars 0147 , const XMLSize_t length 0148 ); 0149 0150 /** 0151 * Receive notification of a processing instruction. 0152 * 0153 * <p>By default, do nothing. Application writers may override this 0154 * method in a subclass to take specific actions for each 0155 * processing instruction, such as setting status variables or 0156 * invoking other methods.</p> 0157 * 0158 * @param target The processing instruction target. 0159 * @param data The processing instruction data, or null if 0160 * none is supplied. 0161 * @exception SAXException Any SAX exception, possibly 0162 * wrapping another exception. 0163 * @see DocumentHandler#processingInstruction 0164 */ 0165 virtual void processingInstruction 0166 ( 0167 const XMLCh* const target 0168 , const XMLCh* const data 0169 ); 0170 0171 /** 0172 * Reset the Document object on its reuse 0173 * 0174 * @see DocumentHandler#resetDocument 0175 */ 0176 virtual void resetDocument(); 0177 //@} 0178 0179 /** @name Default implementation of DocumentHandler interface */ 0180 0181 //@{ 0182 /** 0183 * Receive a Locator object for document events. 0184 * 0185 * <p>By default, do nothing. Application writers may override this 0186 * method in a subclass if they wish to store the locator for use 0187 * with other document events.</p> 0188 * 0189 * @param locator A locator for all SAX document events. 0190 * @see DocumentHandler#setDocumentLocator 0191 * @see Locator 0192 */ 0193 virtual void setDocumentLocator(const Locator* const locator); 0194 0195 /** 0196 * Receive notification of the beginning of the document. 0197 * 0198 * <p>By default, do nothing. Application writers may override this 0199 * method in a subclass to take specific actions at the beginning 0200 * of a document (such as allocating the root node of a tree or 0201 * creating an output file).</p> 0202 * 0203 * @exception SAXException Any SAX exception, possibly 0204 * wrapping another exception. 0205 * @see DocumentHandler#startDocument 0206 */ 0207 virtual void startDocument(); 0208 0209 /** 0210 * Receive notification of the start of an element. 0211 * 0212 * <p>By default, do nothing. Application writers may override this 0213 * method in a subclass to take specific actions at the start of 0214 * each element (such as allocating a new tree node or writing 0215 * output to a file).</p> 0216 * 0217 * @param uri The URI of the associated namespace for this element 0218 * @param localname the local part of the element name 0219 * @param qname the QName of this element 0220 * @param attrs The specified or defaulted attributes. 0221 * @exception SAXException Any SAX exception, possibly 0222 * wrapping another exception. 0223 * @see DocumentHandler#startElement 0224 */ 0225 virtual void startElement 0226 ( 0227 const XMLCh* const uri, 0228 const XMLCh* const localname, 0229 const XMLCh* const qname 0230 , const Attributes& attrs 0231 ); 0232 0233 /** 0234 * Receive notification of the start of an namespace prefix mapping. 0235 * 0236 * <p>By default, do nothing. Application writers may override this 0237 * method in a subclass to take specific actions at the start of 0238 * each namespace prefix mapping.</p> 0239 * 0240 * @param prefix The namespace prefix used 0241 * @param uri The namespace URI used. 0242 * @exception SAXException Any SAX exception, possibly 0243 * wrapping another exception. 0244 * @see DocumentHandler#startPrefixMapping 0245 */ 0246 virtual void startPrefixMapping 0247 ( 0248 const XMLCh* const prefix, 0249 const XMLCh* const uri 0250 ) ; 0251 0252 /** 0253 * Receive notification of the end of an namespace prefix mapping. 0254 * 0255 * <p>By default, do nothing. Application writers may override this 0256 * method in a subclass to take specific actions at the end of 0257 * each namespace prefix mapping.</p> 0258 * 0259 * @param prefix The namespace prefix used 0260 * @exception SAXException Any SAX exception, possibly 0261 * wrapping another exception. 0262 * @see DocumentHandler#endPrefixMapping 0263 */ 0264 virtual void endPrefixMapping 0265 ( 0266 const XMLCh* const prefix 0267 ) ; 0268 0269 /** 0270 * Receive notification of a skipped entity 0271 * 0272 * <p>The parser will invoke this method once for each entity 0273 * skipped. All processors may skip external entities, 0274 * depending on the values of the features:<br> 0275 * http://xml.org/sax/features/external-general-entities<br> 0276 * http://xml.org/sax/features/external-parameter-entities</p> 0277 * 0278 * <p>Introduced with SAX2</p> 0279 * 0280 * @param name The name of the skipped entity. If it is a parameter entity, 0281 * the name will begin with %, and if it is the external DTD subset, 0282 * it will be the string [dtd]. 0283 * @exception SAXException Any SAX exception, possibly 0284 * wrapping another exception. 0285 */ 0286 virtual void skippedEntity 0287 ( 0288 const XMLCh* const name 0289 ) ; 0290 0291 //@} 0292 0293 /** @name Default implementation of the EntityResolver interface. */ 0294 0295 //@{ 0296 /** 0297 * Resolve an external entity. 0298 * 0299 * <p>Always return null, so that the parser will use the system 0300 * identifier provided in the XML document. This method implements 0301 * the SAX default behaviour: application writers can override it 0302 * in a subclass to do special translations such as catalog lookups 0303 * or URI redirection.</p> 0304 * 0305 * @param publicId The public identifier, or null if none is 0306 * available. 0307 * @param systemId The system identifier provided in the XML 0308 * document. 0309 * @return The new input source, or null to require the 0310 * default behaviour. 0311 * The returned InputSource is owned by the parser which is 0312 * responsible to clean up the memory. 0313 * @exception SAXException Any SAX exception, possibly 0314 * wrapping another exception. 0315 * @see EntityResolver#resolveEntity 0316 */ 0317 virtual InputSource* resolveEntity 0318 ( 0319 const XMLCh* const publicId 0320 , const XMLCh* const systemId 0321 ); 0322 0323 //@} 0324 0325 /** @name Default implementation of the ErrorHandler interface */ 0326 //@{ 0327 /** 0328 * Receive notification of a recoverable parser error. 0329 * 0330 * <p>The default implementation does nothing. Application writers 0331 * may override this method in a subclass to take specific actions 0332 * for each error, such as inserting the message in a log file or 0333 * printing it to the console.</p> 0334 * 0335 * @param exc The warning information encoded as an exception. 0336 * @exception SAXException Any SAX exception, possibly 0337 * wrapping another exception. 0338 * @see ErrorHandler#warning 0339 * @see SAXParseException#SAXParseException 0340 */ 0341 virtual void error(const SAXParseException& exc); 0342 0343 /** 0344 * Report a fatal XML parsing error. 0345 * 0346 * <p>The default implementation throws a SAXParseException. 0347 * Application writers may override this method in a subclass if 0348 * they need to take specific actions for each fatal error (such as 0349 * collecting all of the errors into a single report): in any case, 0350 * the application must stop all regular processing when this 0351 * method is invoked, since the document is no longer reliable, and 0352 * the parser may no longer report parsing events.</p> 0353 * 0354 * @param exc The error information encoded as an exception. 0355 * @exception SAXException Any SAX exception, possibly 0356 * wrapping another exception. 0357 * @see ErrorHandler#fatalError 0358 * @see SAXParseException#SAXParseException 0359 */ 0360 virtual void fatalError(const SAXParseException& exc); 0361 0362 /** 0363 * Receive notification of a parser warning. 0364 * 0365 * <p>The default implementation does nothing. Application writers 0366 * may override this method in a subclass to take specific actions 0367 * for each warning, such as inserting the message in a log file or 0368 * printing it to the console.</p> 0369 * 0370 * @param exc The warning information encoded as an exception. 0371 * @exception SAXException Any SAX exception, possibly 0372 * wrapping another exception. 0373 * @see ErrorHandler#warning 0374 * @see SAXParseException#SAXParseException 0375 */ 0376 virtual void warning(const SAXParseException& exc); 0377 0378 /** 0379 * Reset the Error handler object on its reuse 0380 * 0381 * @see ErrorHandler#resetErrors 0382 */ 0383 virtual void resetErrors(); 0384 0385 //@} 0386 0387 0388 /** @name Default implementation of DTDHandler interface. */ 0389 //@{ 0390 0391 /** 0392 * Receive notification of a notation declaration. 0393 * 0394 * <p>By default, do nothing. Application writers may override this 0395 * method in a subclass if they wish to keep track of the notations 0396 * declared in a document.</p> 0397 * 0398 * @param name The notation name. 0399 * @param publicId The notation public identifier, or null if not 0400 * available. 0401 * @param systemId The notation system identifier. 0402 * @see DTDHandler#notationDecl 0403 */ 0404 virtual void notationDecl 0405 ( 0406 const XMLCh* const name 0407 , const XMLCh* const publicId 0408 , const XMLCh* const systemId 0409 ); 0410 0411 /** 0412 * Reset the DTD object on its reuse 0413 * 0414 * @see DTDHandler#resetDocType 0415 */ 0416 virtual void resetDocType(); 0417 0418 /** 0419 * Receive notification of an unparsed entity declaration. 0420 * 0421 * <p>By default, do nothing. Application writers may override this 0422 * method in a subclass to keep track of the unparsed entities 0423 * declared in a document.</p> 0424 * 0425 * @param name The entity name. 0426 * @param publicId The entity public identifier, or null if not 0427 * available. 0428 * @param systemId The entity system identifier. 0429 * @param notationName The name of the associated notation. 0430 * @see DTDHandler#unparsedEntityDecl 0431 */ 0432 virtual void unparsedEntityDecl 0433 ( 0434 const XMLCh* const name 0435 , const XMLCh* const publicId 0436 , const XMLCh* const systemId 0437 , const XMLCh* const notationName 0438 ); 0439 //@} 0440 0441 0442 /** @name Default implementation of LexicalHandler interface. */ 0443 0444 //@{ 0445 /** 0446 * Receive notification of comments. 0447 * 0448 * <p>The Parser will call this method to report each occurrence of 0449 * a comment in the XML document.</p> 0450 * 0451 * <p>The application must not attempt to read from the array 0452 * outside of the specified range.</p> 0453 * 0454 * @param chars The characters from the XML document. 0455 * @param length The number of characters to read from the array. 0456 * @exception SAXException Any SAX exception, possibly 0457 * wrapping another exception. 0458 */ 0459 virtual void comment 0460 ( 0461 const XMLCh* const chars 0462 , const XMLSize_t length 0463 ); 0464 0465 /** 0466 * Receive notification of the end of a CDATA section. 0467 * 0468 * <p>The SAX parser will invoke this method at the end of 0469 * each CDATA parsed.</p> 0470 * 0471 * @exception SAXException Any SAX exception, possibly 0472 * wrapping another exception. 0473 */ 0474 virtual void endCDATA (); 0475 0476 /** 0477 * Receive notification of the end of the DTD declarations. 0478 * 0479 * <p>The SAX parser will invoke this method at the end of the 0480 * DTD</p> 0481 * 0482 * @exception SAXException Any SAX exception, possibly 0483 * wrapping another exception. 0484 */ 0485 virtual void endDTD (); 0486 0487 /** 0488 * Receive notification of the end of an entity. 0489 * 0490 * <p>The SAX parser will invoke this method at the end of an 0491 * entity</p> 0492 * 0493 * @param name The name of the entity that is ending. 0494 * @exception SAXException Any SAX exception, possibly 0495 * wrapping another exception. 0496 */ 0497 virtual void endEntity (const XMLCh* const name); 0498 0499 /** 0500 * Receive notification of the start of a CDATA section. 0501 * 0502 * <p>The SAX parser will invoke this method at the start of 0503 * each CDATA parsed.</p> 0504 * 0505 * @exception SAXException Any SAX exception, possibly 0506 * wrapping another exception. 0507 */ 0508 virtual void startCDATA (); 0509 0510 /** 0511 * Receive notification of the start of the DTD declarations. 0512 * 0513 * <p>The SAX parser will invoke this method at the start of the 0514 * DTD</p> 0515 * 0516 * @param name The document type name. 0517 * @param publicId The declared public identifier for the external DTD subset, or null if none was declared. 0518 * @param systemId The declared system identifier for the external DTD subset, or null if none was declared. 0519 * @exception SAXException Any SAX exception, possibly 0520 * wrapping another exception. 0521 */ 0522 virtual void startDTD 0523 ( 0524 const XMLCh* const name 0525 , const XMLCh* const publicId 0526 , const XMLCh* const systemId 0527 ); 0528 0529 /** 0530 * Receive notification of the start of an entity. 0531 * 0532 * <p>The SAX parser will invoke this method at the start of an 0533 * entity</p> 0534 * 0535 * @param name The name of the entity that is starting. 0536 * @exception SAXException Any SAX exception, possibly 0537 * wrapping another exception. 0538 */ 0539 virtual void startEntity (const XMLCh* const name); 0540 0541 //@} 0542 0543 /** @name Default implementation of DeclHandler interface. */ 0544 0545 //@{ 0546 0547 /** 0548 * Report an element type declaration. 0549 * 0550 * <p>The content model will consist of the string "EMPTY", the string 0551 * "ANY", or a parenthesised group, optionally followed by an occurrence 0552 * indicator. The model will be normalized so that all parameter entities 0553 * are fully resolved and all whitespace is removed,and will include the 0554 * enclosing parentheses. Other normalization (such as removing redundant 0555 * parentheses or simplifying occurrence indicators) is at the discretion 0556 * of the parser.</p> 0557 * 0558 * @param name The element type name. 0559 * @param model The content model as a normalized string. 0560 * @exception SAXException Any SAX exception, possibly 0561 * wrapping another exception. 0562 */ 0563 virtual void elementDecl 0564 ( 0565 const XMLCh* const name 0566 , const XMLCh* const model 0567 ); 0568 0569 /** 0570 * Report an attribute type declaration. 0571 * 0572 * <p>Only the effective (first) declaration for an attribute will 0573 * be reported.</p> 0574 * 0575 * @param eName The name of the associated element. 0576 * @param aName The name of the attribute. 0577 * @param type A string representing the attribute type. 0578 * @param mode A string representing the attribute defaulting mode ("#IMPLIED", "#REQUIRED", or "#FIXED") or null if none of these applies. 0579 * @param value A string representing the attribute's default value, or null if there is none. 0580 * @exception SAXException Any SAX exception, possibly 0581 * wrapping another exception. 0582 */ 0583 virtual void attributeDecl 0584 ( 0585 const XMLCh* const eName 0586 , const XMLCh* const aName 0587 , const XMLCh* const type 0588 , const XMLCh* const mode 0589 , const XMLCh* const value 0590 ); 0591 0592 /** 0593 * Report an internal entity declaration. 0594 * 0595 * <p>Only the effective (first) declaration for each entity will be 0596 * reported. All parameter entities in the value will be expanded, but 0597 * general entities will not.</p> 0598 * 0599 * @param name The name of the entity. If it is a parameter entity, the name will begin with '%'. 0600 * @param value The replacement text of the entity. 0601 * @exception SAXException Any SAX exception, possibly 0602 * wrapping another exception. 0603 */ 0604 virtual void internalEntityDecl 0605 ( 0606 const XMLCh* const name 0607 , const XMLCh* const value 0608 ); 0609 0610 /** 0611 * Report a parsed external entity declaration. 0612 * 0613 * <p>Only the effective (first) declaration for each entity will 0614 * be reported.</p> 0615 * 0616 * @param name The name of the entity. If it is a parameter entity, the name will begin with '%'. 0617 * @param publicId The The declared public identifier of the entity, or null if none was declared. 0618 * @param systemId The declared system identifier of the entity. 0619 * @exception SAXException Any SAX exception, possibly 0620 * wrapping another exception. 0621 */ 0622 virtual void externalEntityDecl 0623 ( 0624 const XMLCh* const name 0625 , const XMLCh* const publicId 0626 , const XMLCh* const systemId 0627 ); 0628 0629 //@} 0630 0631 DefaultHandler() {}; 0632 virtual ~DefaultHandler() {}; 0633 0634 private: 0635 // ----------------------------------------------------------------------- 0636 // Unimplemented constructors and operators 0637 // ----------------------------------------------------------------------- 0638 DefaultHandler(const DefaultHandler&); 0639 DefaultHandler& operator=(const DefaultHandler&); 0640 }; 0641 0642 0643 // --------------------------------------------------------------------------- 0644 // HandlerBase: Inline default implementations 0645 // --------------------------------------------------------------------------- 0646 inline void DefaultHandler::characters(const XMLCh* const 0647 ,const XMLSize_t) 0648 { 0649 } 0650 0651 inline void DefaultHandler::endDocument() 0652 { 0653 } 0654 0655 inline void DefaultHandler::endElement(const XMLCh* const 0656 , const XMLCh* const 0657 , const XMLCh* const) 0658 { 0659 } 0660 0661 inline void DefaultHandler::error(const SAXParseException&) 0662 { 0663 } 0664 0665 inline void DefaultHandler::fatalError(const SAXParseException& exc) 0666 { 0667 throw exc; 0668 } 0669 0670 inline void 0671 DefaultHandler::ignorableWhitespace( const XMLCh* const 0672 , const XMLSize_t) 0673 { 0674 } 0675 0676 inline void DefaultHandler::notationDecl( const XMLCh* const 0677 , const XMLCh* const 0678 , const XMLCh* const) 0679 { 0680 } 0681 0682 inline void 0683 DefaultHandler::processingInstruction( const XMLCh* const 0684 , const XMLCh* const) 0685 { 0686 } 0687 0688 inline void DefaultHandler::resetErrors() 0689 { 0690 } 0691 0692 inline void DefaultHandler::resetDocument() 0693 { 0694 } 0695 0696 inline void DefaultHandler::resetDocType() 0697 { 0698 } 0699 0700 inline InputSource* 0701 DefaultHandler::resolveEntity( const XMLCh* const 0702 , const XMLCh* const) 0703 { 0704 return 0; 0705 } 0706 0707 inline void 0708 DefaultHandler::unparsedEntityDecl(const XMLCh* const 0709 , const XMLCh* const 0710 , const XMLCh* const 0711 , const XMLCh* const) 0712 { 0713 } 0714 0715 inline void DefaultHandler::setDocumentLocator(const Locator* const) 0716 { 0717 } 0718 0719 inline void DefaultHandler::startDocument() 0720 { 0721 } 0722 0723 inline void 0724 DefaultHandler::startElement( const XMLCh* const 0725 , const XMLCh* const 0726 , const XMLCh* const 0727 , const Attributes& 0728 ) 0729 { 0730 } 0731 0732 inline void DefaultHandler::warning(const SAXParseException&) 0733 { 0734 } 0735 0736 inline void DefaultHandler::startPrefixMapping ( const XMLCh* const 0737 ,const XMLCh* const) 0738 { 0739 } 0740 0741 inline void DefaultHandler::endPrefixMapping ( const XMLCh* const) 0742 { 0743 } 0744 0745 inline void DefaultHandler::skippedEntity ( const XMLCh* const) 0746 { 0747 } 0748 0749 inline void DefaultHandler::comment( const XMLCh* const 0750 , const XMLSize_t) 0751 { 0752 } 0753 0754 inline void DefaultHandler::endCDATA () 0755 { 0756 } 0757 0758 inline void DefaultHandler::endDTD () 0759 { 0760 } 0761 0762 inline void DefaultHandler::endEntity (const XMLCh* const) 0763 { 0764 } 0765 0766 inline void DefaultHandler::startCDATA () 0767 { 0768 } 0769 0770 inline void DefaultHandler::startDTD( const XMLCh* const 0771 , const XMLCh* const 0772 , const XMLCh* const) 0773 { 0774 } 0775 0776 inline void DefaultHandler::startEntity (const XMLCh* const) 0777 { 0778 } 0779 0780 inline void DefaultHandler::attributeDecl(const XMLCh* const, 0781 const XMLCh* const, 0782 const XMLCh* const, 0783 const XMLCh* const, 0784 const XMLCh* const) 0785 { 0786 } 0787 0788 inline void DefaultHandler::elementDecl(const XMLCh* const, 0789 const XMLCh* const) 0790 { 0791 } 0792 0793 inline void DefaultHandler::externalEntityDecl(const XMLCh* const, 0794 const XMLCh* const, 0795 const XMLCh* const) 0796 { 0797 } 0798 0799 inline void DefaultHandler::internalEntityDecl(const XMLCh* const, 0800 const XMLCh* const) 0801 { 0802 } 0803 0804 XERCES_CPP_NAMESPACE_END 0805 0806 #endif // ! DEFAULTHANDLER_HPP
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |