示例#1
0
  ItemInfoImpl(DavPropertySet propSet, NamePathResolver resolver)
      throws NameException, NamespaceException {

    DavProperty<?> pathProp =
        propSet.get(JcrRemotingConstants.JCR_PATH_LN, ItemResourceConstants.NAMESPACE);
    String jcrPath = pathProp.getValue().toString();
    path = resolver.getQPath(jcrPath);
  }
 // ------------------------------------------------------------< private >---
 private Path getPath(String absPath) throws RepositoryException {
   return (absPath == null) ? null : resolver.getQPath(absPath);
 }