示例#1
0
 public URI createResourceURI(String signature) {
   URI uri = COMMON_SIGNATURE_URIS.get(signature);
   if (uri != null) {
     return uri;
   }
   StringBuilder uriBuilder = createURIBuilder();
   createResourceURI(signature, uriBuilder);
   return createURI(uriBuilder);
 }
示例#2
0
 protected void createResourceURIForArray(String signature, StringBuilder uriBuilder) {
   String elementType = Signature.getElementType(signature);
   createResourceURI(elementType, uriBuilder);
 }
示例#3
0
 protected void createResourceURIForArray(ITypeBinding typeBinding, StringBuilder uriBuilder) {
   ITypeBinding componentType = typeBinding.getComponentType();
   createResourceURI(componentType, uriBuilder);
 }
示例#4
0
 protected void getFullURI(ITypeBinding typeBinding, StringBuilder uriBuilder) {
   createResourceURI(typeBinding, uriBuilder);
   uriBuilder.append('#');
   createFragment(typeBinding, uriBuilder);
 }