|
GeoPubby
Version 0.1.0.0
|
Helper class that splits URIs into prefix and local name according to a Jena PrefixMapping. More...

Public Member Functions | |
| URIPrefixer (String uri, PrefixMapping prefixes) | |
| URIPrefixer (Resource resource, PrefixMapping prefixes) | |
| boolean | hasPrefix () |
| String | getPrefix () |
| String | getLocalName () |
| String | toTurtle () |
Private Attributes | |
| final Resource | resource |
| final String | prefix |
| final String | localName |
Helper class that splits URIs into prefix and local name according to a Jena PrefixMapping.
| URIPrefixer | ( | String | uri, |
| PrefixMapping | prefixes | ||
| ) |
| URIPrefixer | ( | Resource | resource, |
| PrefixMapping | prefixes | ||
| ) |
References URIPrefixer.localName, URIPrefixer.prefix, and URIPrefixer.resource.
| String getLocalName | ( | ) |
| String getPrefix | ( | ) |
References URIPrefixer.prefix.
Referenced by ResourceDescription.ResourceProperty.getPrefix(), ResourceDescription.Value.getPrefix(), and URIPrefixer.toTurtle().
| boolean hasPrefix | ( | ) |
| String toTurtle | ( | ) |
References URIPrefixer.getLocalName(), URIPrefixer.getPrefix(), URIPrefixer.hasPrefix(), and URIPrefixer.resource.
Referenced by ResourceDescription.Value.getDatatypeLabel().
|
private |
Referenced by URIPrefixer.getLocalName(), and URIPrefixer.URIPrefixer().
|
private |
Referenced by URIPrefixer.getPrefix(), URIPrefixer.hasPrefix(), and URIPrefixer.URIPrefixer().
|
private |
Referenced by URIPrefixer.getLocalName(), URIPrefixer.toTurtle(), and URIPrefixer.URIPrefixer().