Package org.joggito.annotations

Examples of org.joggito.annotations.RDFResource


  /**
   * Resolves the full URI by concatenating namespace (from @RDFResource
   * annotation on the owner class) and the given local name.
   */
  private String resolveFromLocalName(String uriExp, Class<?> beanCls) {
    RDFResource annRsc = beanCls.getAnnotation(RDFResource.class);
    String ns = ResourceFactory.createResource(annRsc.uri())
        .getNameSpace();
    return ns.concat(uriExp.replace("#", ""));
  }
View Full Code Here

TOP

Related Classes of org.joggito.annotations.RDFResource

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.