BindingImpl.java revision 22
1715N/A// Parameter param = getParameter(); 1715N/A// OWLType paramType = (param == null) ? null : param.getParamType(); 1715N/A// OWLValue owlValue = null; 1715N/A// if((paramType == null) || paramType.isDataType()) 1715N/A// String literalValue = dataValue.getLexicalValue().trim(); 1715N/A// String rdf = literalValue.indexOf("rdf:RDF") == -1 1715N/A// ? RDFUtils.addRDFTag( literalValue ) 1715N/A// owlValue = getOntology().parseLiteral( rdf ); 1715N/A// return getKB().createValueData(owlValue); 1715N/A// value = (ParameterValue) getProperty(OWLS.Process.valueForm); 1715N/A// value = (ParameterValue) getPropertyAs(OWLS.Process.valueType, ParameterValue.class); 1715N/A// value = (ParameterValue) getPropertyAs(OWLS.Process.valueSpecifier, ValueOf.class); 3143N/A// value = (ParameterValue) getPropertyAs(OWLS.Process.valueFunction, ValueFunction.class); 1715N/A * @see org.mindswap.owls.process.Binding#setValue(org.mindswap.owls.process.ParameterValue) 3049N/A// String str = ((OWLIndividual) value).toRDF(true); 1715N/A// setProperty(OWLS.Process.valueData, EntityFactory.createDataValue( str, RDF.XMLLiteral ) );