test_class.declarator: validURI_NoPlaceholders = "http://sysmo-db.org/sops/"
test_class.modifier: final
test_class.original_string: final String validURI_NoPlaceholders = "http://sysmo-db.org/sops/";
test_class.type: String
test_class.var_name: validURI_NoPlaceholders
test_class.declarator: validURI_PlaceholdersInMainPartOfURIOnly = "http://sysmo-db.org/sops/{sop_id}/experimental_conditions/{cond_id}"
test_class.modifier: final
test_class.original_string: final String validURI_PlaceholdersInMainPartOfURIOnly = "http://sysmo-db.org/sops/{sop_id}/experimental_conditions/{cond_id}";
test_class.type: String
test_class.var_name: validURI_PlaceholdersInMainPartOfURIOnly
test_class.declarator: validURI_PlaceholdersInQueryStringOnly = "http://sandbox.myexperiment.org/user.xml?id={user_id}&verbose=true"
test_class.modifier: final
test_class.original_string: final String validURI_PlaceholdersInQueryStringOnly = "http://sandbox.myexperiment.org/user.xml?id={user_id}&verbose=true";
test_class.type: String
test_class.var_name: validURI_PlaceholdersInQueryStringOnly
test_class.declarator: validURI_3MixedPlaceholders = "http://sysmo-db.org/sops/{sop_id}/experimental_conditions/{cond_id}?condition_unit={unit}"
test_class.modifier: final
test_class.original_string: final String validURI_3MixedPlaceholders = "http://sysmo-db.org/sops/{sop_id}/experimental_conditions/{cond_id}?condition_unit={unit}";
test_class.type: String
test_class.var_name: validURI_3MixedPlaceholders
test_class.declarator: badURI_nullURI = null
test_class.modifier: final
test_class.original_string: final String badURI_nullURI = null;
test_class.type: String
test_class.var_name: badURI_nullURI
test_class.declarator: badURI_emptyURI = ""
test_class.modifier: final
test_class.original_string: final String badURI_emptyURI = "";
test_class.type: String
test_class.var_name: badURI_emptyURI
test_class.declarator: badURI_SingleOpeningSymbolNoClosingSymbol = "http://sysmo-db.org/sops/{sop_id/experimental_conditions"
test_class.modifier: final
test_class.original_string: final String badURI_SingleOpeningSymbolNoClosingSymbol = "http://sysmo-db.org/sops/{sop_id/experimental_conditions";
test_class.type: String
test_class.var_name: badURI_SingleOpeningSymbolNoClosingSymbol
test_class.declarator: badURI_SingleClosingSymbolNoOpeningSymbol = "http://sysmo-db.org/sops/sop_id}/experimental_conditions"
test_class.modifier: final
test_class.original_string: final String badURI_SingleClosingSymbolNoOpeningSymbol = "http://sysmo-db.org/sops/sop_id}/experimental_conditions";
test_class.type: String
test_class.var_name: badURI_SingleClosingSymbolNoOpeningSymbol
test_class.declarator: badURI_DoubleOpeningSymbolsNoClosingSymbol = "http://sysmo-db.org/sops/{{sop_id/experimental_conditions"
test_class.modifier: final
test_class.original_string: final String badURI_DoubleOpeningSymbolsNoClosingSymbol = "http://sysmo-db.org/sops/{{sop_id/experimental_conditions";
test_class.type: String
test_class.var_name: badURI_DoubleOpeningSymbolsNoClosingSymbol
test_class.declarator: badURI_DoubleOpeningSymbols = "http://sysmo-db.org/sops/{{sop_id}/experimental_conditions"
test_class.modifier: final
test_class.original_string: final String badURI_DoubleOpeningSymbols = "http://sysmo-db.org/sops/{{sop_id}/experimental_conditions";
test_class.type: String
test_class.var_name: badURI_DoubleOpeningSymbols
test_class.declarator: badURI_DoubleOpeningSymbolsSpaced = "http://sysmo-db.org/sops/{sop_{id}/experimental_conditions"
test_class.modifier: final
test_class.original_string: final String badURI_DoubleOpeningSymbolsSpaced = "http://sysmo-db.org/sops/{sop_{id}/experimental_conditions";
test_class.type: String
test_class.var_name: badURI_DoubleOpeningSymbolsSpaced
test_class.declarator: badURI_DoubleClosingSymbols = "http://sysmo-db.org/sops/{sop_id}}/experimental_conditions"
test_class.modifier: final
test_class.original_string: final String badURI_DoubleClosingSymbols = "http://sysmo-db.org/sops/{sop_id}}/experimental_conditions";
test_class.type: String
test_class.var_name: badURI_DoubleClosingSymbols
test_class.declarator: badURI_DoubleClosingSymbolsSpaced = "http://sysmo-db.org/sops/{sop}_id}/experimental_conditions"
test_class.modifier: final
test_class.original_string: final String badURI_DoubleClosingSymbolsSpaced = "http://sysmo-db.org/sops/{sop}_id}/experimental_conditions";
test_class.type: String
test_class.var_name: badURI_DoubleClosingSymbolsSpaced
test_class.declarator: badURI_NestedPlaceholders = "http://sandbox.myexperiment.org/user.xml?id={user_{id}}&verbose=true"
test_class.modifier: final
test_class.original_string: final String badURI_NestedPlaceholders = "http://sandbox.myexperiment.org/user.xml?id={user_{id}}&verbose=true";
test_class.type: String
test_class.var_name: badURI_NestedPlaceholders
test_class.declarator: badURI_NestedPlaceholdersSpaced = "http://sandbox.myexperiment.org/user.xml?id={us{er}_id}&verbose=true"
test_class.modifier: final
test_class.original_string: final String badURI_NestedPlaceholdersSpaced = "http://sandbox.myexperiment.org/user.xml?id={us{er}_id}&verbose=true";
test_class.type: String
test_class.var_name: badURI_NestedPlaceholdersSpaced
test_class.declarator: badURI_DuplicatePlaceholders = "http://sandbox.myexperiment.org/user.xml?id={user_id}&verbose={user_id}"
test_class.modifier: final
test_class.original_string: final String badURI_DuplicatePlaceholders = "http://sandbox.myexperiment.org/user.xml?id={user_id}&verbose={user_id}";
test_class.type: String
test_class.var_name: badURI_DuplicatePlaceholders
test_class.declarator: badURI_DuplicatePlaceholdersWithOthers = "http://sysmo-db.org/sops/{unit}/experimental_conditions/{cond_id}?condition_unit={unit}"
test_class.modifier: final
test_class.original_string: final String badURI_DuplicatePlaceholdersWithOthers = "http://sysmo-db.org/sops/{unit}/experimental_conditions/{cond_id}?condition_unit={unit}";
test_class.type: String
test_class.var_name: badURI_DuplicatePlaceholdersWithOthers
test_class.declarator: validURI_MultipleQueryString =
              "http://dr-site.esrin.esa.int/{catalogue}/genesi/ASA_IMS_1P/rdf/?count={count?}&startPage={startPage?}&startIndex={startIndex?}&q={searchTerms?}"
test_class.modifier: final
test_class.original_string: final String validURI_MultipleQueryString =
              "http://dr-site.esrin.esa.int/{catalogue}/genesi/ASA_IMS_1P/rdf/?count={count?}&startPage={startPage?}&startIndex={startIndex?}&q={searchTerms?}";
test_class.type: String
test_class.var_name: validURI_MultipleQueryString
test_class.file: taverna-rest-activity/src/test/java/org/apache/taverna/activities/rest/URISignatureHandlerTest.java
test_class.identifier: URISignatureHandlerTest
test_case.body: @Test
  	public void isValid_validURI_PlaceholdersInQueryStringOnly() {
  		assertTrue(URISignatureHandler
  				.isValid(validURI_PlaceholdersInQueryStringOnly));
  	}
test_case.class_method_signature: URISignatureHandlerTest.isValid_validURI_PlaceholdersInQueryStringOnly()
test_case.full_signature: @Test public void isValid_validURI_PlaceholdersInQueryStringOnly()
test_case.identifier: isValid_validURI_PlaceholdersInQueryStringOnly
test_case.invocations: assertTrue isValid
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void isValid_validURI_PlaceholdersInQueryStringOnly()
focal_class.declarator: logger = Logger.getLogger(URISignatureHandler.class)
focal_class.modifier: private static
focal_class.original_string: private static Logger logger = Logger.getLogger(URISignatureHandler.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: PLACEHOLDER_START_SYMBOL = '{'
focal_class.modifier: public static final
focal_class.original_string: public static final char PLACEHOLDER_START_SYMBOL = '{';
focal_class.type: char
focal_class.var_name: PLACEHOLDER_START_SYMBOL
focal_class.declarator: PLACEHOLDER_END_SYMBOL = '}'
focal_class.modifier: public static final
focal_class.original_string: public static final char PLACEHOLDER_END_SYMBOL = '}';
focal_class.type: char
focal_class.var_name: PLACEHOLDER_END_SYMBOL
focal_class.file: taverna-rest-activity/src/main/java/org/apache/taverna/activities/rest/URISignatureHandler.java
focal_class.identifier: URISignatureHandler
focal_class.class_method_signature: URISignatureHandler.extractPlaceholdersWithPositions(
  			String uriSignature)
focal_class.full_signature: public static LinkedHashMap<String, Integer> extractPlaceholdersWithPositions(
  			String uriSignature)
focal_class.identifier: extractPlaceholdersWithPositions
focal_class.modifiers: public static
focal_class.parameters: (
  			String uriSignature)
focal_class.return: LinkedHashMap<String, Integer>
focal_class.signature: LinkedHashMap<String, Integer> extractPlaceholdersWithPositions(
  			String uriSignature)
focal_class.class_method_signature: URISignatureHandler.extractPlaceholders(String uriSignature)
focal_class.full_signature: public static List<String> extractPlaceholders(String uriSignature)
focal_class.identifier: extractPlaceholders
focal_class.modifiers: public static
focal_class.parameters: (String uriSignature)
focal_class.return: List<String>
focal_class.signature: List<String> extractPlaceholders(String uriSignature)
focal_class.class_method_signature: URISignatureHandler.validate(String uriSignature)
focal_class.full_signature: public static void validate(String uriSignature)
focal_class.identifier: validate
focal_class.modifiers: public static
focal_class.parameters: (String uriSignature)
focal_class.return: void
focal_class.signature: void validate(String uriSignature)
focal_class.class_method_signature: URISignatureHandler.checkForUnsafeCharacters(String candidateURLSignature)
focal_class.full_signature: public static void checkForUnsafeCharacters(String candidateURLSignature)
focal_class.identifier: checkForUnsafeCharacters
focal_class.modifiers: public static
focal_class.parameters: (String candidateURLSignature)
focal_class.return: void
focal_class.signature: void checkForUnsafeCharacters(String candidateURLSignature)
focal_class.class_method_signature: URISignatureHandler.isValid(String uriSignature)
focal_class.full_signature: public static boolean isValid(String uriSignature)
focal_class.identifier: isValid
focal_class.modifiers: public static
focal_class.parameters: (String uriSignature)
focal_class.return: boolean
focal_class.signature: boolean isValid(String uriSignature)
focal_class.class_method_signature: URISignatureHandler.generateCompleteURI(String uriSignature,
  			Map<String, String> specifiedParameters, boolean escapeParameters)
focal_class.full_signature: public static String generateCompleteURI(String uriSignature,
  			Map<String, String> specifiedParameters, boolean escapeParameters)
focal_class.identifier: generateCompleteURI
focal_class.modifiers: public static
focal_class.parameters: (String uriSignature,
  			Map<String, String> specifiedParameters, boolean escapeParameters)
focal_class.return: String
focal_class.signature: String generateCompleteURI(String uriSignature,
  			Map<String, String> specifiedParameters, boolean escapeParameters)
focal_class.class_method_signature: URISignatureHandler.urlEncodeQuery(String query)
focal_class.full_signature: public static String urlEncodeQuery(String query)
focal_class.identifier: urlEncodeQuery
focal_class.modifiers: public static
focal_class.parameters: (String query)
focal_class.return: String
focal_class.signature: String urlEncodeQuery(String query)
focal_method.body: public static boolean isValid(String uriSignature) {
  		try {
  			// no exceptions are generated by validate(), the validation has
  			// succeeded
  			validate(uriSignature);
  			return (true);
  		} catch (URISignatureParsingException e) {
  			return false;
  		}
  	}
focal_method.class_method_signature: URISignatureHandler.isValid(String uriSignature)
focal_method.full_signature: public static boolean isValid(String uriSignature)
focal_method.identifier: isValid
focal_method.invocations: validate
focal_method.modifiers: public static
focal_method.parameters: (String uriSignature)
focal_method.return: boolean
focal_method.signature: boolean isValid(String uriSignature)