public class RDFConfig extends Object
Constructor and Description |
---|
RDFConfig()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getDefaultKeyNs() |
String |
getDefaultTypeNs() |
String |
getKeyNs(String key)
Convenience method.
|
Map<String,String> |
getKeyNsMap() |
Map<String,String> |
getNsMap() |
Map<String,String> |
getResLinkMap() |
Map<String,String> |
getRewriteMap() |
String |
getTypeNs(String type)
Convenience method.
|
Map<String,String> |
getTypesNsMap() |
void |
setDefaultKeyNs(String defaultKeyNs) |
void |
setDefaultTypeNs(String defaultTypeNs) |
void |
setKeyNsMap(Map<String,String> keyNsMap) |
void |
setNsMap(Map<String,String> nsMap) |
void |
setResLinkMap(Map<String,String> resLinkMap) |
void |
setRewriteMap(Map<String,String> rewriteMap) |
void |
setTypesNsMap(Map<String,String> typesNsMap) |
public void setRewriteMap(Map<String,String> rewriteMap)
rewriteMap
- the rewriteMap to setpublic void setResLinkMap(Map<String,String> resLinkMap)
resLinkMap
- the resLinkMap to setpublic void setKeyNsMap(Map<String,String> keyNsMap)
keyNsMap
- the keyNsMap to setpublic String getDefaultKeyNs()
public void setDefaultKeyNs(String defaultKeyNs)
defaultKeyNs
- the defaultKeyNs to setpublic String getDefaultTypeNs()
public void setDefaultTypeNs(String defaultTypeNs)
defaultTypeNs
- the defaultTypeNs to setpublic void setTypesNsMap(Map<String,String> typesNsMap)
typesNsMap
- the typesNsMap to setpublic String getKeyNs(String key)
getDefaultKeyNs()
key
- The key to find the namespace for.getDefaultKeyNs()
.public String getTypeNs(String type)
ProductType
, otherwise, returns
getDefaultTypeNs()
.type
- The ProductType.getName()
to find the namespace for.getDefaultTypeNs()
.Copyright © 1999–2017 Apache OODT. All rights reserved.