1 23 24 package org.apache.slide.webdav.util.resourcekind; 25 26 import java.util.Set ; 27 28 29 public class DeltavCompliantUnmappedUrlImpl extends AbstractResourceKind implements DeltavCompliantUnmappedUrl { 30 31 protected static ResourceKind singleton = null; 32 33 36 static public ResourceKind getInstance() { 37 if( singleton == null ) 38 singleton = new DeltavCompliantUnmappedUrlImpl(); 39 return singleton; 40 } 41 42 45 protected DeltavCompliantUnmappedUrlImpl() { 46 } 47 48 57 public Set getSupportedLiveProperties( String [] excludedFeatures ) { 58 Set s = super.getSupportedLiveProperties( excludedFeatures ); 59 return s; 60 } 61 62 65 public Set getSupportedMethods() { 66 Set s = super.getSupportedMethods(); 67 s.add( M_PUT ); 68 s.add( M_MKCOL ); 69 if( isSupportedFeature(F_VERSION_CONTROL) ) 70 s.add( M_VERSION_CONTROL ); 71 if( isSupportedFeature(F_WORKSPACE) ) 72 s.add( M_MKWORKSPACE ); 73 return s; 74 } 75 76 79 public Set getSupportedReports() { 80 Set s = super.getSupportedReports(); 81 return s; 82 } 83 } 84 85 | Popular Tags |