1 19 20 package org.netbeans.core.xml; 21 22 import java.util.*; 23 import org.openide.loaders.Environment; 24 import org.openide.xml.EntityCatalog; 25 26 30 public final class XML extends Object { 31 private static FileEntityResolver DEFAULT; 32 33 35 public static Environment.Provider getEnvironmentProvider () { 36 if (DEFAULT == null) { 37 DEFAULT = new FileEntityResolver (); 38 } 39 40 return DEFAULT; 41 } 42 43 45 public static EntityCatalog getEntityCatalog () { 46 if (DEFAULT == null) { 47 DEFAULT = new FileEntityResolver (); 48 } 49 50 return DEFAULT; 51 } 52 53 } 54 | Popular Tags |