home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / xml4j.jar / com / ibm / xml / dom / DOMImplementationImpl.class (.txt) < prev    next >
Encoding:
Java Class File  |  1999-08-30  |  738 b   |  16 lines

  1. package com.ibm.xml.dom;
  2.  
  3. import org.w3c.dom.DOMImplementation;
  4.  
  5. public class DOMImplementationImpl implements DOMImplementation {
  6.    static DOMImplementationImpl singleton = new DOMImplementationImpl();
  7.  
  8.    public boolean hasFeature(String var1, String var2) {
  9.       return var1.equalsIgnoreCase("XML") && var2.equals("1.0");
  10.    }
  11.  
  12.    public static DOMImplementation getDOMImplementation() {
  13.       return singleton;
  14.    }
  15. }
  16.