Resource function ( RDFNode arg0 ) { if ( arg0 instanceof Resource ) { return ( Resource ) arg0 ; } else if ( arg0 instanceof Literal ) { return asResource ( ( ( Literal ) arg0 ) . getLexicalForm ( ) ) ; } throw new UnknownShortnameException ( arg0 ) ; }
convert a resource specification to a resource . a resource may be specified by a shortname in a query string or a literal giving a shortname in a spec file as well as simply being a resource already . concode_field_sep PrefixMapping prefixes concode_elem_sep String rdf_XMLLiteral concode_elem_sep Context context concode_elem_sep Model emptyModel concode_elem_sep Set<String> datatypes concode_elem_sep Resource rootResource concode_field_sep void loadVocabulary concode_elem_sep String expand concode_elem_sep void extractDatatypes concode_elem_sep ContextPropertyInfo getPropertyByName concode_elem_sep void declareDatatype concode_elem_sep Map<String,String> copyWithout concode_elem_sep boolean isDatatype concode_elem_sep Context asContext concode_elem_sep PrefixMapping getPrefixes concode_elem_sep Map<String,String> constructURItoShortnameMap concode_elem_sep Model getAnyReservedProperties