public enum ResourceType extends Enum<ResourceType>
| Enum Constant and Description |
|---|
BasicContainer |
Container |
DirectContainer |
IndirectContainer |
NonRDFSource |
RDFSource |
Resource |
| Modifier and Type | Method and Description |
|---|---|
static ResourceType |
fromURI(String uriValue) |
ResourceType |
getSuperType() |
org.openrdf.model.URI |
getURI() |
boolean |
isSubClassOf(ResourceType superClass) |
static ResourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceType Resource
public static final ResourceType RDFSource
public static final ResourceType NonRDFSource
public static final ResourceType Container
public static final ResourceType BasicContainer
public static final ResourceType DirectContainer
public static final ResourceType IndirectContainer
public static ResourceType[] values()
for (ResourceType c : ResourceType.values()) System.out.println(c);
public static ResourceType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic org.openrdf.model.URI getURI()
public ResourceType getSuperType()
public boolean isSubClassOf(ResourceType superClass)
public static ResourceType fromURI(String uriValue)
Copyright © 2016. All rights reserved.