gareth 2003/01/29 11:46:40 Modified: c/src/xercesc/validators/DTD DTDAttDef.hpp DTDElementDecl.hpp Log: added DOMTypeInfo API Revision Changes Path 1.3 +19 -0 xml-xerces/c/src/xercesc/validators/DTD/DTDAttDef.hpp Index: DTDAttDef.hpp =================================================================== RCS file: /home/cvs/xml-xerces/c/src/xercesc/validators/DTD/DTDAttDef.hpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- DTDAttDef.hpp 4 Nov 2002 14:50:40 -0000 1.2 +++ DTDAttDef.hpp 29 Jan 2003 19:46:40 -0000 1.3 @@ -56,6 +56,9 @@ /* * $Log$ + * Revision 1.3 2003/01/29 19:46:40 gareth + * added DOMTypeInfo API + * * Revision 1.2 2002/11/04 14:50:40 tng * C++ Namespace Support. * @@ -122,12 +125,18 @@ // ----------------------------------------------------------------------- virtual const XMLCh* getFullName() const; + //does nothing currently + virtual void reset() {}; // ----------------------------------------------------------------------- // Getter methods // ----------------------------------------------------------------------- unsigned int getElemId() const; + virtual const XMLCh* getDOMTypeInfoName() const; + + virtual const XMLCh* getDOMTypeInfoUri() const; + // ----------------------------------------------------------------------- // Setter methods @@ -172,6 +181,15 @@ return fElemId; } +inline const XMLCh* DTDAttDef::getDOMTypeInfoName() const +{ + return getAttTypeString(getType()); +} + +inline const XMLCh* DTDAttDef::getDOMTypeInfoUri() const +{ + return 0; +} // --------------------------------------------------------------------------- // DTDAttDef: Setter methods @@ -180,6 +198,7 @@ { fElemId = newId; } + XERCES_CPP_NAMESPACE_END 1.3 +13 -0 xml-xerces/c/src/xercesc/validators/DTD/DTDElementDecl.hpp Index: DTDElementDecl.hpp =================================================================== RCS file: /home/cvs/xml-xerces/c/src/xercesc/validators/DTD/DTDElementDecl.hpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- DTDElementDecl.hpp 4 Nov 2002 14:50:40 -0000 1.2 +++ DTDElementDecl.hpp 29 Jan 2003 19:46:40 -0000 1.3 @@ -56,6 +56,9 @@ /* * $Log$ + * Revision 1.3 2003/01/29 19:46:40 gareth + * added DOMTypeInfo API + * * Revision 1.2 2002/11/04 14:50:40 tng * C++ Namespace Support. * @@ -208,6 +211,9 @@ DTDAttDef* getAttDef(const XMLCh* const attName); ModelTypes getModelType() const; + const XMLCh* getDOMTypeInfoName() const; + + const XMLCh* getDOMTypeInfoUri() const; // ----------------------------------------------------------------------- // Setter methods @@ -310,6 +316,13 @@ return fModelType; } +inline const XMLCh* DTDElementDecl::getDOMTypeInfoName() const { + return 0; +} + +inline const XMLCh* DTDElementDecl::getDOMTypeInfoUri() const { + return 0; +} // --------------------------------------------------------------------------- // DTDElementDecl: Setter methods
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]