code: protected SchemaNode resolveSchemaNode(final Map<String, SchemaNode> schemaNodes, final App app, final URI uri) throws FrameworkException {
  
  		// find schema nodes for the given source and target nodes
  		final Object source = root.resolveURI(uri);
  		if (source != null && source instanceof StructrTypeDefinition) {
  
  			return (SchemaNode)((StructrTypeDefinition)source).getSchemaNode();
  
  		} else {
  
  			if (uri.isAbsolute()) {
  
  				final Class type = StructrApp.resolveSchemaId(uri);
  				if (type != null) {
  
  					return schemaNodes.get(type.getSimpleName());
  				}
  			}
  		}
  
  		return null;
  	}
docs: ----- protected methods -----