AppleSucksDOMImplementation.m 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. #import "AppleSucksDOMImplementation.h"
  2. @implementation AppleSucksDOMImplementation
  3. -(BOOL) hasFeature:(NSString*) feature version:(NSString*) version
  4. {
  5. NSAssert( FALSE, @"Apple has made a private class with the same name as this class - we have to rename it because ObjectiveC sucks, and Apple used a foolish name, so we CANNOT adhere to the spec now" );
  6. NSAssert( FALSE, @"Not implemented yet" );
  7. return FALSE;
  8. }
  9. // Introduced in DOM Level 2:
  10. -(DocumentType*) createDocumentType:(NSString*) qualifiedName publicId:(NSString*) publicId systemId:(NSString*) systemId
  11. {
  12. NSAssert( FALSE, @"Apple has made a private class with the same name as this class - we have to rename it because ObjectiveC sucks, and Apple used a foolish name, so we CANNOT adhere to the spec now" );
  13. NSAssert( FALSE, @"Not implemented yet" );
  14. return nil;
  15. }
  16. // Introduced in DOM Level 2:
  17. -(Document*) createDocument:(NSString*) namespaceURI qualifiedName:(NSString*) qualifiedName doctype:(DocumentType*) doctype
  18. {
  19. NSAssert( FALSE, @"Apple has made a private class with the same name as this class - we have to rename it because ObjectiveC sucks, and Apple used a foolish name, so we CANNOT adhere to the spec now" );
  20. NSAssert( FALSE, @"Not implemented yet" );
  21. return nil;
  22. }
  23. @end