public class SemanticType extends Class
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
IRI_MARKER
|
PREFIX_FRAMEBASE, SEPARATOR
Constructor and Description |
---|
SemanticType() |
SemanticType(java.lang.String id) |
Modifier and Type | Method and Description |
---|---|
static SemanticType |
create(java.lang.String framenetFrame,
java.lang.String semtypeName) |
boolean |
extractComponents()
Extracts components from IRIs
(Current implementations use Regex over the IRIs but that may change in the future)
NOTE: It is case sensitive!! If the IRI used in the constructor had case modified (some servers do this), the correct functioning of this method isn not ensured.
|
static java.lang.String |
getNamespace()
|
getSubclasses, getSuperclasses
customIriDecode, customIriEncode, equals, getDefaultDescription, getDefaultLabel, getIri, hashCode, setDefaultDescription, setDefaultLabel, setIri
public static final java.lang.String IRI_MARKER
public SemanticType()
public SemanticType(java.lang.String id)
public static SemanticType create(java.lang.String framenetFrame, java.lang.String semtypeName)
framenetFrame
- semtypeName
- public static java.lang.String getNamespace()
public boolean extractComponents()
FramebaseResource
extractComponents
in class Class