Changeset 7290
- Timestamp:
- 06/08/10 10:39:18 (11 years ago)
- Location:
- TI12-security/trunk/EsgYadisParser/src/org/earthsystemgrid/security/yadis
- Files:
-
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
TI12-security/trunk/EsgYadisParser/src/org/earthsystemgrid/security/yadis/Xrds.java
r7289 r7290 45 45 * @author pjkershaw 46 46 */ 47 public class Xrd {48 private static final Log _log = LogFactory.getLog(Xrd .class);47 public class Xrds { 48 private static final Log _log = LogFactory.getLog(Xrds.class); 49 49 private static final boolean DEBUG = _log.isDebugEnabled(); 50 50 … … 236 236 String delegate = (String) serviceDelegates.get(serviceNode); 237 237 238 XrdsService endpoint = new XrdsService(uri,238 XrdsServiceElem endpoint = new XrdsServiceElem(uri, 239 239 typeSet, getPriority(serviceNode), getPriority(uriNode), 240 240 localId, delegate, canonicalId); … … 277 277 278 278 String yadisDocFilePath = "/home/pjkersha/workspace/EsgYadisParser/data/yadis.xml"; 279 Xrd yadisParser = new Xrd();279 Xrds yadisParser = new Xrds(); 280 280 StringBuffer contents = new StringBuffer(); 281 281 -
TI12-security/trunk/EsgYadisParser/src/org/earthsystemgrid/security/yadis/XrdsServiceElem.java
r7289 r7290 13 13 * @author jbufu 14 14 */ 15 public class XrdsService implements Comparable {15 public class XrdsServiceElem implements Comparable { 16 16 17 17 private int servicePriority; … … 24 24 private String canonicalId; 25 25 26 public XrdsService (String uri, Set types,26 public XrdsServiceElem(String uri, Set types, 27 27 int servicePriority, int uriPriority, String localId, 28 28 String delegate, String canonicalId) … … 99 99 100 100 public int compareTo(Object o) { 101 XrdsService other = (XrdsService) o;101 XrdsServiceElem other = (XrdsServiceElem) o; 102 102 103 103 if (servicePriority == LOWEST_PRIORITY &&
Note: See TracChangeset
for help on using the changeset viewer.