1 16 package org.apache.commons.vfs; 17 18 24 public final class NameScope 25 { 26 31 public static final NameScope CHILD = new NameScope("child"); 32 33 38 public static final NameScope DESCENDENT = new NameScope("descendent"); 39 40 46 public static final NameScope DESCENDENT_OR_SELF = 47 new NameScope("descendent_or_self"); 48 49 64 public static final NameScope FILE_SYSTEM = new NameScope("filesystem"); 65 66 private final String name; 67 68 private NameScope(final String name) 69 { 70 this.name = name; 71 } 72 73 76 public String toString() 77 { 78 return name; 79 } 80 81 84 public String getName() 85 { 86 return name; 87 } 88 } 89 | Popular Tags |