Пример #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);
 }