|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IConcreteFactory
An interface that can be used to create set of data types supported by this engine.
| Method Summary | |
|---|---|
IAnyURI |
createAnyURI(URI uri)
Creates a new term representing a xs:anyURI. |
IBase64Binary |
createBase64Binary(String s)
Create a Base64Binary term from a String representing a Base64Binary data type. |
IBooleanTerm |
createBoolean(boolean b)
Create a boolean term from a boolean value. |
IBooleanTerm |
createBoolean(String value)
Create a boolean term with a string value. |
IByteTerm |
createByte(byte value)
Creates a new term representing a xs:byte. |
IDateTerm |
createDate(int year,
int month,
int day)
Creates a new date object. |
IDateTerm |
createDate(int year,
int month,
int day,
int tzHour,
int tzMinute)
Creates a new date object within the given timezone. |
IDateTime |
createDateTime(int year,
int month,
int day,
int hour,
int minute,
double second,
int tzHour,
int tzMinute)
Creates a datetime object with a given timezone. |
IDateTime |
createDateTime(int year,
int month,
int day,
int hour,
int minute,
int second,
int millisecond,
int tzHour,
int tzMinute)
Creates a datetime object with a given timezone. |
IDateTime |
createDateTimeStamp(int year,
int month,
int day,
int hour,
int minute,
double second,
int tzHour,
int tzMinute)
Creates a dateTimeStamp term for the specified values. |
IDayTimeDuration |
createDayTimeDuration(boolean positive,
int day,
int hour,
int minute,
double second)
Creates a new term representing a xs:dayTimeDuration. |
IDayTimeDuration |
createDayTimeDuration(boolean positive,
int day,
int hour,
int minute,
int second,
int millisecond)
Creates a new term representing a xs:dayTimeDuration. |
IDecimalTerm |
createDecimal(BigDecimal value)
Create a new decimal term. |
IDecimalTerm |
createDecimal(double d)
Create a new decimal term. |
IDoubleTerm |
createDouble(double d)
Create a double term. |
IDuration |
createDuration(boolean positive,
int year,
int month,
int day,
int hour,
int minute,
double second)
Create a new Duration term. |
IDuration |
createDuration(boolean positive,
int year,
int month,
int day,
int hour,
int minute,
int second,
int millisecond)
Constructs a new duration. |
IDuration |
createDuration(long millis)
Constructs a new duration out of a given amount of milliseconds. |
IENTITY |
createEntity(String entity)
Create a new term representing a xs:ENTITY. |
IFloatTerm |
createFloat(float f)
Create a new float term |
IGDay |
createGDay(int day)
Create a new day term |
IGMonth |
createGMonth(int month)
Create a new month term |
IGMonthDay |
createGMonthDay(int month,
int day)
Create a new month/day term |
IGYear |
createGYear(int year)
Create a new year term |
IGYearMonth |
createGYearMonth(int year,
int month)
Create a new year/month term |
IHexBinary |
createHexBinary(String s)
Create a new HexBinary term |
IID |
createID(String id)
Create a new term representing a xs:ID. |
IIDREF |
createIDREF(String idRef)
Create a new term representing a xs:IDREF. |
IIntTerm |
createInt(int value)
Create a new term representing a xs:int. |
IIntegerTerm |
createInteger(BigInteger i)
Create a new term representing a xs:integer. |
IIntegerTerm |
createInteger(int i)
Create a new term representing a xs:integer. |
IIri |
createIri(String s)
Create a new IRI term |
ILanguage |
createLanguage(String language)
Create a new term representing a xs:language. |
ILongTerm |
createLong(long value)
Create a new term representing a xs:long. |
IName |
createName(String name)
Create a new term representing a xs:Name. |
INCName |
createNCName(String name)
Create a new term representing a xs:NCName. |
INegativeInteger |
createNegativeInteger(BigInteger value)
Create a new term representing a xs:negativeInteger. |
INMTOKEN |
createNMTOKEN(String token)
Create a new term representing a xs:NMTOKEN. |
INonNegativeInteger |
createNonNegativeInteger(BigInteger value)
Create a new term representing a xs:nonNegativeInteger. |
INonPositiveInteger |
createNonPositiveInteger(BigInteger value)
Create a new term representing a xs:nonPositiveInteger. |
INormalizedString |
createNormalizedString(String string)
Create a new term representing a xs:normalizedString. |
INOTATION |
createNOTATION(String namespaceName,
String localPart)
Creates a new term representing a xs:NOTATION. |
IPlainLiteral |
createPlainLiteral(String string)
Creates a new PlainLiteral term. |
IPlainLiteral |
createPlainLiteral(String string,
String language)
Creates a new PlainLiteral term with the specified string and language tag. |
IPositiveInteger |
createPositiveInteger(BigInteger value)
Create a new term representing a xs:positiveInteger. |
IQName |
createQName(String namespaceName,
String localPart)
Creates a new term representing a xs:QName. |
IShortTerm |
createShort(short value)
Create a new term representing a xs:short. |
ISqName |
createSqName(IIri iri,
String name)
Create a new SQName term |
ISqName |
createSqName(String s)
Create a new SQName term |
ITime |
createTime(int hour,
int minute,
double second,
int tzHour,
int tzMinute)
Creates a time object with a given timezone. |
ITime |
createTime(int hour,
int minute,
int second,
int millisecond,
int tzHour,
int tzMinute)
Creates a time object with a given timezone. |
IToken |
createToken(String token)
Create a new term representing a xs:token. |
IUnsignedByte |
createUnsignedByte(short value)
Create a new term representing a xs:unsignedByte. |
IUnsignedInt |
createUnsignedInt(long value)
Create a new term representing a xs:unsignedInt. |
IUnsignedLong |
createUnsignedLong(BigInteger value)
Create a new term representing a xs:unsignedLong. |
IUnsignedShort |
createUnsignedShort(int value)
Create a new term representing a xs:unsignedShort. |
IXMLLiteral |
createXMLLiteral(String string)
Creates a new term representing a rdf:XMLLiteral. |
IXMLLiteral |
createXMLLiteral(String string,
String lang)
Creates a new term representing a rdf:XMLLiteral. |
IYearMonthDuration |
createYearMonthDuration(boolean positive,
int year,
int month)
Creates a new term representing a xs:yearMonthDuration. |
| Method Detail |
|---|
IBase64Binary createBase64Binary(String s)
s - The String representing a Base64Binary data type.
IBooleanTerm createBoolean(boolean b)
b - The value of the term
IBooleanTerm createBoolean(String value)
value - The string value, which must be either 'true' or '1' for
true, or 'false' or '0' for false.
IDateTerm createDate(int year,
int month,
int day)
year - the yearmonth - the mont (1-12)day - the day
IDateTerm createDate(int year,
int month,
int day,
int tzHour,
int tzMinute)
year - the yearmonth - the mont (1-12)day - the daytzHour - the timezone hours (relative to GMT)tzMinute - the timezone minutes (relative to GMT)
IllegalArgumentException - if, the tzHour and tzMinute wheren't
both positive, or negative
IDateTime createDateTime(int year,
int month,
int day,
int hour,
int minute,
double second,
int tzHour,
int tzMinute)
year - the yearsmonth - the months (1-12)day - day of the monthhour - the hoursminute - the minutessecond - the decimal secondstzHour - the timezone hours (relative to GMT)tzMinute - the timezone minutes (relative to GMT)
IllegalArgumentException - if, the tzHour and tzMinute wheren't
both positive, or negative
IDateTime createDateTime(int year,
int month,
int day,
int hour,
int minute,
int second,
int millisecond,
int tzHour,
int tzMinute)
year - the yearsmonth - the months (1-12)day - day of the monthhour - the hoursminute - the minutessecond - the secondsmillisecond - the millisecondstzHour - the timezone hours (relative to GMT)tzMinute - the timezone minutes (relative to GMT)
IllegalArgumentException - if, the tzHour and tzMinute wheren't
both positive, or negative
IDateTime createDateTimeStamp(int year,
int month,
int day,
int hour,
int minute,
double second,
int tzHour,
int tzMinute)
year - The year fragment.month - The month fragment.day - The Day of month fragment.hour - The hour fragment.minute - The minute fragment.second - The second fragment.tzHour - The timezone hour (relative to GMT) fragment.tzMinute - The timezone minute (relative to GMT) fragment.
IllegalArgumentException - If not both the tzHour and tzMinute are
positive or negative.
IDayTimeDuration createDayTimeDuration(boolean positive,
int day,
int hour,
int minute,
double second)
positive - True if this term represents a positive duration, false
otherwise.day - The day.hour - The hour.minute - The minute.second - The second.
IDayTimeDuration createDayTimeDuration(boolean positive,
int day,
int hour,
int minute,
int second,
int millisecond)
positive - True if this term represents a positive duration, false
otherwise.day - The day.hour - The hour.minute - The minute.second - The second.millisecond - The millisecond.
IDecimalTerm createDecimal(double d)
d - The decimal value
IDecimalTerm createDecimal(BigDecimal value)
value - The decimal value.
IDoubleTerm createDouble(double d)
d - The double values
IDuration createDuration(boolean positive,
int year,
int month,
int day,
int hour,
int minute,
double second)
positive - true is a positive durationyear - month - day - hour - minute - second -
IDuration createDuration(boolean positive,
int year,
int month,
int day,
int hour,
int minute,
int second,
int millisecond)
positive - trueif the duration is positive, otherwise
falseyear - the yearspanmonth - the monthspa (1-12)day - the dayspanhour - the hourspanminute - the minutespansecond - the secondspanmillisecond - the millisecondspanIDuration createDuration(long millis)
millis - the millisecond spanIFloatTerm createFloat(float f)
f - The float value
IGDay createGDay(int day)
day - The day value
IGMonth createGMonth(int month)
month - The month value
IGMonthDay createGMonthDay(int month,
int day)
month - The month valueday - The day value
IGYear createGYear(int year)
year - The year value
IGYearMonth createGYearMonth(int year,
int month)
year - The year valuemonth - The month value
IHexBinary createHexBinary(String s)
s - The hex binary value
IIntegerTerm createInteger(int i)
Create a new term representing a xs:integer.
i - The integer value.
IIntegerTerm createInteger(BigInteger i)
Create a new term representing a xs:integer.
i - The BigInteger value.
IIri createIri(String s)
s - The IRI value
ISqName createSqName(IIri iri,
String name)
iri - The IRI values - The SQName value
ISqName createSqName(String s)
s - The SQName value
IPlainLiteral createPlainLiteral(String string)
string - A string of the form "text@lang", where "lang" is the
language of the text. Must contain at least one "@" character.
IPlainLiteral createPlainLiteral(String string,
String language)
string - The string.language - The language tag.
ITime createTime(int hour,
int minute,
double second,
int tzHour,
int tzMinute)
hour - the hoursminute - the minutessecond - the decimal secondstzHour - the timezone hours (relative to GMT)tzMinute - the timezone minutes (relative to GMT)
IllegalArgumentException - if, the tzHour and tzMinute wheren't
both positive, or negative
ITime createTime(int hour,
int minute,
int second,
int millisecond,
int tzHour,
int tzMinute)
hour - the hoursminute - the minutessecond - the secondsmillisecond - the millisecondstzHour - the timezone hours (relative to GMT)tzMinute - the timezone minutes (relative to GMT)
IllegalArgumentException - if, the tzHour and tzMinute wheren't
both positive, or negativeIXMLLiteral createXMLLiteral(String string)
string - A string representing a XML element.
IXMLLiteral createXMLLiteral(String string,
String lang)
string - A string representing a XML element.lang - The language of the XML element.
IYearMonthDuration createYearMonthDuration(boolean positive,
int year,
int month)
positive - True if this term represents a positive duration, false
otherwise.year - The year.month - The month.
IAnyURI createAnyURI(URI uri)
uri - The URI representing the value of the xs:anyURI.
IQName createQName(String namespaceName,
String localPart)
namespaceName - The namespace name of the xs:QName. May be
null.localPart - The local part of the xs:QName.
INOTATION createNOTATION(String namespaceName,
String localPart)
namespaceName - The namespace name of the xs:NOTATION.localPart - The local part of the xs:NOTATION. May be
null.
IByteTerm createByte(byte value)
value - The byte value.
IENTITY createEntity(String entity)
entity - The string representing the value of the xs:ENTITY.
IID createID(String id)
id - The string representing the value of the xs:ID.
IIDREF createIDREF(String idRef)
idRef - The string representing the value of the xs:IDREF.
ILanguage createLanguage(String language)
language - The string representing the value of the xs:language.
ILongTerm createLong(long value)
Create a new term representing a xs:long.
value - The integer value representing the value of the xs:long.
IName createName(String name)
name - The string value representing the value of the xs:Name.
INCName createNCName(String name)
name - The string value representing the value of the xs:NCName.
INegativeInteger createNegativeInteger(BigInteger value)
Create a new term representing a xs:negativeInteger.
value - The BigInteger value representing the value of the
xs:negativeInteger.
INMTOKEN createNMTOKEN(String token)
token - The string value representing the value of the xs:NMTOKEN.
INonNegativeInteger createNonNegativeInteger(BigInteger value)
Create a new term representing a xs:nonNegativeInteger.
value - The BigInteger value representing the value of the
xs:nonNegativeInteger.
INonPositiveInteger createNonPositiveInteger(BigInteger value)
Create a new term representing a xs:nonPositiveInteger.
value - The BigInteger value representing the value of the
xs:nonPositiveInteger.
INormalizedString createNormalizedString(String string)
string - The string value representing the value of the
xs:normalizedString.
IPositiveInteger createPositiveInteger(BigInteger value)
Create a new term representing a xs:positiveInteger.
value - The BigInteger value representing the value of the
xs:positiveInteger.
IShortTerm createShort(short value)
value - The integer value representing the value of the xs:short.
IToken createToken(String token)
token - The string value representing the value of the xs:token.
IUnsignedLong createUnsignedLong(BigInteger value)
Create a new term representing a xs:unsignedLong.
value - The BigInteger value representing the value of the
xs:unsignedLong.
IUnsignedInt createUnsignedInt(long value)
Create a new term representing a xs:unsignedInt.
value - The long value representing the value of the xs:unsignedInt.
IUnsignedShort createUnsignedShort(int value)
Create a new term representing a xs:unsignedShort.
value - The integer value representing the value of the
xs:unsignedShort.
IUnsignedByte createUnsignedByte(short value)
Create a new term representing a xs:unsignedByte.
value - The short value representing the value of the
xs:unsignedByte.
IIntTerm createInt(int value)
Create a new term representing a xs:int.
value - The integer value representing the value of the xs:int.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||