public final class Types extends Object implements IRI
| Modifier and Type | Field and Description |
|---|---|
static Types |
RDF_HTML
http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML
|
static Types |
RDF_LANGSTRING
http://www.w3.org/1999/02/22-rdf-syntax-ns#langString
|
static Types |
RDF_PLAINLITERAL
Deprecated.
Not used in RDF-1.1
|
static Types |
RDF_XMLLITERAL
http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral
|
static Types |
XSD_ANYURI
http://www.w3.org/2001/XMLSchema#anyURI
|
static Types |
XSD_BASE64BINARY
http://www.w3.org/2001/XMLSchema#base64Binary
|
static Types |
XSD_BOOLEAN
http://www.w3.org/2001/XMLSchema#boolean
|
static Types |
XSD_BYTE
http://www.w3.org/2001/XMLSchema#byte
|
static Types |
XSD_DATE
http://www.w3.org/2001/XMLSchema#date
|
static Types |
XSD_DATETIME
http://www.w3.org/2001/XMLSchema#dateTime
|
static Types |
XSD_DAYTIMEDURATION
http://www.w3.org/2001/XMLSchema#dayTimeDuration
|
static Types |
XSD_DECIMAL
http://www.w3.org/2001/XMLSchema#decimal
|
static Types |
XSD_DOUBLE
http://www.w3.org/2001/XMLSchema#double
|
static Types |
XSD_DURATION
http://www.w3.org/2001/XMLSchema#duration
|
static Types |
XSD_FLOAT
http://www.w3.org/2001/XMLSchema#float
|
static Types |
XSD_GDAY
http://www.w3.org/2001/XMLSchema#gDay
|
static Types |
XSD_GMONTH
http://www.w3.org/2001/XMLSchema#gMonth
|
static Types |
XSD_GMONTHDAY
http://www.w3.org/2001/XMLSchema#gMonthDay
|
static Types |
XSD_GYEAR
http://www.w3.org/2001/XMLSchema#gYear
|
static Types |
XSD_GYEARMONTH
http://www.w3.org/2001/XMLSchema#gYearMonth
|
static Types |
XSD_HEXBINARY
http://www.w3.org/2001/XMLSchema#hexBinary
|
static Types |
XSD_INT
http://www.w3.org/2001/XMLSchema#int
|
static Types |
XSD_INTEGER
http://www.w3.org/2001/XMLSchema#integer
|
static Types |
XSD_LANGUAGE
http://www.w3.org/2001/XMLSchema#language
|
static Types |
XSD_LONG
http://www.w3.org/2001/XMLSchema#long
|
static Types |
XSD_NAME
http://www.w3.org/2001/XMLSchema#Name
|
static Types |
XSD_NCNAME
http://www.w3.org/2001/XMLSchema#NCName
|
static Types |
XSD_NEGATIVEINTEGER
http://www.w3.org/2001/XMLSchema#negativeInteger
|
static Types |
XSD_NMTOKEN
http://www.w3.org/2001/XMLSchema#NMTOKEN
|
static Types |
XSD_NONNEGATIVEINTEGER
http://www.w3.org/2001/XMLSchema#nonNegativeInteger
|
static Types |
XSD_NONPOSITIVEINTEGER
http://www.w3.org/2001/XMLSchema#nonPositiveInteger
|
static Types |
XSD_NORMALIZEDSTRING
http://www.w3.org/2001/XMLSchema#normalizedString
|
static Types |
XSD_POSITIVEINTEGER
http://www.w3.org/2001/XMLSchema#positiveInteger
|
static Types |
XSD_SHORT
http://www.w3.org/2001/XMLSchema#short
|
static Types |
XSD_STRING
http://www.w3.org/2001/XMLSchema#string
|
static Types |
XSD_TIME
http://www.w3.org/2001/XMLSchema#time
|
static Types |
XSD_TOKEN
http://www.w3.org/2001/XMLSchema#token
|
static Types |
XSD_UNSIGNEDBYTE
http://www.w3.org/2001/XMLSchema#unsignedByte
|
static Types |
XSD_UNSIGNEDINT
http://www.w3.org/2001/XMLSchema#unsignedInt
|
static Types |
XSD_UNSIGNEDLONG
http://www.w3.org/2001/XMLSchema#unsignedLong
|
static Types |
XSD_UNSIGNEDSHORT
http://www.w3.org/2001/XMLSchema#unsignedShort
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
static Optional<IRI> |
get(IRI nextIRI)
Get the IRI from this collection if it is present, or return
Optional.empty() otherwise. |
String |
getIRIString() |
int |
hashCode() |
String |
ntriplesString() |
String |
toString() |
static Set<IRI> |
values()
Get an immutable set of the IRIs used by the RDF-1.1 specification to
define types, from the RDF and XML Schema vocabularies.
|
public static final Types RDF_HTML
public static final Types RDF_LANGSTRING
@Deprecated public static final Types RDF_PLAINLITERAL
public static final Types RDF_XMLLITERAL
public static final Types XSD_ANYURI
public static final Types XSD_BASE64BINARY
public static final Types XSD_BOOLEAN
public static final Types XSD_BYTE
public static final Types XSD_DATE
public static final Types XSD_DATETIME
public static final Types XSD_DAYTIMEDURATION
public static final Types XSD_DECIMAL
public static final Types XSD_DOUBLE
public static final Types XSD_DURATION
public static final Types XSD_FLOAT
public static final Types XSD_GDAY
public static final Types XSD_GMONTH
public static final Types XSD_GMONTHDAY
public static final Types XSD_GYEAR
public static final Types XSD_GYEARMONTH
public static final Types XSD_HEXBINARY
public static final Types XSD_INT
public static final Types XSD_INTEGER
public static final Types XSD_LANGUAGE
public static final Types XSD_LONG
public static final Types XSD_NAME
public static final Types XSD_NCNAME
public static final Types XSD_NEGATIVEINTEGER
public static final Types XSD_NMTOKEN
public static final Types XSD_NONNEGATIVEINTEGER
public static final Types XSD_NONPOSITIVEINTEGER
public static final Types XSD_NORMALIZEDSTRING
public static final Types XSD_POSITIVEINTEGER
public static final Types XSD_SHORT
public static final Types XSD_STRING
public static final Types XSD_TIME
public static final Types XSD_TOKEN
public static final Types XSD_UNSIGNEDBYTE
public static final Types XSD_UNSIGNEDINT
public static final Types XSD_UNSIGNEDLONG
public static final Types XSD_UNSIGNEDSHORT
public String getIRIString()
getIRIString in interface IRIpublic String ntriplesString()
ntriplesString in interface RDFTermpublic boolean equals(Object other)
public int hashCode()
public static Set<IRI> values()
Set containing all of the IRIs in this collection.public static Optional<IRI> get(IRI nextIRI)
Optional.empty() otherwise.nextIRI - The IRI to look for.Optional containing the IRI from this collection or
Optional.empty() if it is not present here.Copyright © 2015–2017 The Apache Software Foundation. All rights reserved.