org.deri.iris.terms.concrete
Class ConcreteFactory

java.lang.Object
  extended by org.deri.iris.terms.concrete.ConcreteFactory
All Implemented Interfaces:
IConcreteFactory

public class ConcreteFactory
extends Object
implements IConcreteFactory

Factory to create concrete terms.


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.
 IUnsignedLong createUnsignedLong(long value)
           
 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.
static IConcreteFactory getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static IConcreteFactory getInstance()

createBase64Binary

public IBase64Binary createBase64Binary(String s)
Description copied from interface: IConcreteFactory
Create a Base64Binary term from a String representing a Base64Binary data type.

Specified by:
createBase64Binary in interface IConcreteFactory
Parameters:
s - The String representing a Base64Binary data type.
Returns:
The Base64Binary term.

createBoolean

public IBooleanTerm createBoolean(boolean b)
Description copied from interface: IConcreteFactory
Create a boolean term from a boolean value.

Specified by:
createBoolean in interface IConcreteFactory
Parameters:
b - The value of the term
Returns:
The boolean term.

createBoolean

public IBooleanTerm createBoolean(String value)
Description copied from interface: IConcreteFactory
Create a boolean term with a string value.

Specified by:
createBoolean in interface IConcreteFactory
Parameters:
value - The string value, which must be either 'true' or '1' for true, or 'false' or '0' for false.
Returns:
The boolean term.

createDate

public IDateTerm createDate(int year,
                            int month,
                            int day)
Description copied from interface: IConcreteFactory
Creates a new date object. The timezone will be set to GMT.

Specified by:
createDate in interface IConcreteFactory
Parameters:
year - the year
month - the mont (1-12)
day - the day

createDate

public IDateTerm createDate(int year,
                            int month,
                            int day,
                            int tzHour,
                            int tzMinute)
Description copied from interface: IConcreteFactory
Creates a new date object within the given timezone.

Specified by:
createDate in interface IConcreteFactory
Parameters:
year - the year
month - the mont (1-12)
day - the day
tzHour - the timezone hours (relative to GMT)
tzMinute - the timezone minutes (relative to GMT)

createDateTime

public IDateTime createDateTime(int year,
                                int month,
                                int day,
                                int hour,
                                int minute,
                                int second,
                                int millisecond,
                                int tzHour,
                                int tzMinute)
Description copied from interface: IConcreteFactory
Creates a datetime object with a given timezone.

Specified by:
createDateTime in interface IConcreteFactory
Parameters:
year - the years
month - the months (1-12)
day - day of the month
hour - the hours
minute - the minutes
second - the seconds
millisecond - the milliseconds
tzHour - the timezone hours (relative to GMT)
tzMinute - the timezone minutes (relative to GMT)

createDateTime

public IDateTime createDateTime(int year,
                                int month,
                                int day,
                                int hour,
                                int minute,
                                double second,
                                int tzHour,
                                int tzMinute)
Description copied from interface: IConcreteFactory
Creates a datetime object with a given timezone.

Specified by:
createDateTime in interface IConcreteFactory
Parameters:
year - the years
month - the months (1-12)
day - day of the month
hour - the hours
minute - the minutes
second - the decimal seconds
tzHour - the timezone hours (relative to GMT)
tzMinute - the timezone minutes (relative to GMT)

createTime

public ITime createTime(int hour,
                        int minute,
                        int second,
                        int millisecond,
                        int tzHour,
                        int tzMinute)
Description copied from interface: IConcreteFactory
Creates a time object with a given timezone.

Specified by:
createTime in interface IConcreteFactory
Parameters:
hour - the hours
minute - the minutes
second - the seconds
millisecond - the milliseconds
tzHour - the timezone hours (relative to GMT)
tzMinute - the timezone minutes (relative to GMT)

createTime

public ITime createTime(int hour,
                        int minute,
                        double second,
                        int tzHour,
                        int tzMinute)
Description copied from interface: IConcreteFactory
Creates a time object with a given timezone.

Specified by:
createTime in interface IConcreteFactory
Parameters:
hour - the hours
minute - the minutes
second - the decimal seconds
tzHour - the timezone hours (relative to GMT)
tzMinute - the timezone minutes (relative to GMT)

createDecimal

public IDecimalTerm createDecimal(double d)
Description copied from interface: IConcreteFactory
Create a new decimal term.

Specified by:
createDecimal in interface IConcreteFactory
Parameters:
d - The decimal value
Returns:
The new decimal term

createDecimal

public IDecimalTerm createDecimal(BigDecimal value)
Description copied from interface: IConcreteFactory
Create a new decimal term.

Specified by:
createDecimal in interface IConcreteFactory
Parameters:
value - The decimal value.
Returns:
The new decimal term.

createDouble

public IDoubleTerm createDouble(double d)
Description copied from interface: IConcreteFactory
Create a double term.

Specified by:
createDouble in interface IConcreteFactory
Parameters:
d - The double values
Returns:
The new term

createDuration

public IDuration createDuration(boolean positive,
                                int year,
                                int month,
                                int day,
                                int hour,
                                int minute,
                                int second,
                                int millisecond)
Description copied from interface: IConcreteFactory
Constructs a new duration.

Specified by:
createDuration in interface IConcreteFactory
Parameters:
positive - trueif the duration is positive, otherwise false
year - the yearspan
month - the monthspa (1-12)
day - the dayspan
hour - the hourspan
minute - the minutespan
second - the secondspan
millisecond - the millisecondspan

createDuration

public IDuration createDuration(boolean positive,
                                int year,
                                int month,
                                int day,
                                int hour,
                                int minute,
                                double second)
Description copied from interface: IConcreteFactory
Create a new Duration term.

Specified by:
createDuration in interface IConcreteFactory
Parameters:
positive - true is a positive duration
Returns:

createDuration

public IDuration createDuration(long millis)
Description copied from interface: IConcreteFactory
Constructs a new duration out of a given amount of milliseconds. The milliseconds will be round down to the next second.

Specified by:
createDuration in interface IConcreteFactory
Parameters:
millis - the millisecond span

createFloat

public IFloatTerm createFloat(float f)
Description copied from interface: IConcreteFactory
Create a new float term

Specified by:
createFloat in interface IConcreteFactory
Parameters:
f - The float value
Returns:
The new float term

createGDay

public IGDay createGDay(int day)
Description copied from interface: IConcreteFactory
Create a new day term

Specified by:
createGDay in interface IConcreteFactory
Parameters:
day - The day value
Returns:
The new term

createGMonthDay

public IGMonthDay createGMonthDay(int month,
                                  int day)
Description copied from interface: IConcreteFactory
Create a new month/day term

Specified by:
createGMonthDay in interface IConcreteFactory
Parameters:
month - The month value
day - The day value
Returns:
The new term

createGMonth

public IGMonth createGMonth(int month)
Description copied from interface: IConcreteFactory
Create a new month term

Specified by:
createGMonth in interface IConcreteFactory
Parameters:
month - The month value
Returns:
The new term

createGYearMonth

public IGYearMonth createGYearMonth(int year,
                                    int month)
Description copied from interface: IConcreteFactory
Create a new year/month term

Specified by:
createGYearMonth in interface IConcreteFactory
Parameters:
year - The year value
month - The month value
Returns:
The new term

createGYear

public IGYear createGYear(int year)
Description copied from interface: IConcreteFactory
Create a new year term

Specified by:
createGYear in interface IConcreteFactory
Parameters:
year - The year value
Returns:
The new term

createHexBinary

public IHexBinary createHexBinary(String s)
Description copied from interface: IConcreteFactory
Create a new HexBinary term

Specified by:
createHexBinary in interface IConcreteFactory
Parameters:
s - The hex binary value
Returns:
The new term

createInteger

public IIntegerTerm createInteger(int i)
Description copied from interface: IConcreteFactory

Create a new term representing a xs:integer.

Specified by:
createInteger in interface IConcreteFactory
Parameters:
i - The integer value.
Returns:
The new term.

createInteger

public IIntegerTerm createInteger(BigInteger i)
Description copied from interface: IConcreteFactory

Create a new term representing a xs:integer.

Specified by:
createInteger in interface IConcreteFactory
Parameters:
i - The BigInteger value.
Returns:
The new term.

createIri

public IIri createIri(String s)
Description copied from interface: IConcreteFactory
Create a new IRI term

Specified by:
createIri in interface IConcreteFactory
Parameters:
s - The IRI value
Returns:
The new term

createSqName

public ISqName createSqName(String s)
Description copied from interface: IConcreteFactory
Create a new SQName term

Specified by:
createSqName in interface IConcreteFactory
Parameters:
s - The SQName value
Returns:
The new term

createSqName

public ISqName createSqName(IIri iri,
                            String name)
Description copied from interface: IConcreteFactory
Create a new SQName term

Specified by:
createSqName in interface IConcreteFactory
Parameters:
iri - The IRI value
Returns:
The new term

createPlainLiteral

public IPlainLiteral createPlainLiteral(String string,
                                        String language)
Description copied from interface: IConcreteFactory
Creates a new PlainLiteral term with the specified string and language tag.

Specified by:
createPlainLiteral in interface IConcreteFactory
Parameters:
string - The string.
language - The language tag.
Returns:
The PlainLiteral term for the specified string and language tag.

createPlainLiteral

public IPlainLiteral createPlainLiteral(String string)
Description copied from interface: IConcreteFactory
Creates a new PlainLiteral term. The string passed to this method is of the form "text@lang" and contains at least one "@".

Specified by:
createPlainLiteral in interface IConcreteFactory
Parameters:
string - A string of the form "text@lang", where "lang" is the language of the text. Must contain at least one "@" character.
Returns:
The PlainLiteral for the specified string.

createXMLLiteral

public IXMLLiteral createXMLLiteral(String string)
Description copied from interface: IConcreteFactory
Creates a new term representing a rdf:XMLLiteral.

Specified by:
createXMLLiteral in interface IConcreteFactory
Parameters:
string - A string representing a XML element.
Returns:
The new term representing the rdf:XMLLiteral.

createXMLLiteral

public IXMLLiteral createXMLLiteral(String string,
                                    String lang)
Description copied from interface: IConcreteFactory
Creates a new term representing a rdf:XMLLiteral.

Specified by:
createXMLLiteral in interface IConcreteFactory
Parameters:
string - A string representing a XML element.
lang - The language of the XML element.
Returns:
The new term representing the rdf:XMLLiteral.

createYearMonthDuration

public IYearMonthDuration createYearMonthDuration(boolean positive,
                                                  int year,
                                                  int month)
Description copied from interface: IConcreteFactory
Creates a new term representing a xs:yearMonthDuration.

Specified by:
createYearMonthDuration in interface IConcreteFactory
Parameters:
positive - True if this term represents a positive duration, false otherwise.
year - The year.
month - The month.
Returns:
The new term representing a xs:yearMonthDuration.

createDayTimeDuration

public IDayTimeDuration createDayTimeDuration(boolean positive,
                                              int day,
                                              int hour,
                                              int minute,
                                              double second)
Description copied from interface: IConcreteFactory
Creates a new term representing a xs:dayTimeDuration.

Specified by:
createDayTimeDuration in interface IConcreteFactory
Parameters:
positive - True if this term represents a positive duration, false otherwise.
day - The day.
hour - The hour.
minute - The minute.
second - The second.
Returns:
The new term representing a xs:dayTimeDuration.

createDayTimeDuration

public IDayTimeDuration createDayTimeDuration(boolean positive,
                                              int day,
                                              int hour,
                                              int minute,
                                              int second,
                                              int millisecond)
Description copied from interface: IConcreteFactory
Creates a new term representing a xs:dayTimeDuration.

Specified by:
createDayTimeDuration in interface IConcreteFactory
Parameters:
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.
Returns:
The new term representing a xs:dayTimeDuration.

createAnyURI

public IAnyURI createAnyURI(URI uri)
Description copied from interface: IConcreteFactory
Creates a new term representing a xs:anyURI.

Specified by:
createAnyURI in interface IConcreteFactory
Parameters:
uri - The URI representing the value of the xs:anyURI.
Returns:
The term representing the xs:anyURI for the specified URI.

createByte

public IByteTerm createByte(byte value)
Description copied from interface: IConcreteFactory
Creates a new term representing a xs:byte.

Specified by:
createByte in interface IConcreteFactory
Parameters:
value - The byte value.
Returns:
The term representing the xs:byte for the specified byte.

createEntity

public IENTITY createEntity(String entity)
Description copied from interface: IConcreteFactory
Create a new term representing a xs:ENTITY.

Specified by:
createEntity in interface IConcreteFactory
Parameters:
entity - The string representing the value of the xs:ENTITY.
Returns:
The term representing the xs:ENTITY for the specified string.

createID

public IID createID(String id)
Description copied from interface: IConcreteFactory
Create a new term representing a xs:ID.

Specified by:
createID in interface IConcreteFactory
Parameters:
id - The string representing the value of the xs:ID.
Returns:
The term representing the xs:ID for the specified string.

createIDREF

public IIDREF createIDREF(String idRef)
Description copied from interface: IConcreteFactory
Create a new term representing a xs:IDREF.

Specified by:
createIDREF in interface IConcreteFactory
Parameters:
idRef - The string representing the value of the xs:IDREF.
Returns:
The term representing the xs:IDREF for the specified string.

createLanguage

public ILanguage createLanguage(String language)
Description copied from interface: IConcreteFactory
Create a new term representing a xs:language.

Specified by:
createLanguage in interface IConcreteFactory
Parameters:
language - The string representing the value of the xs:language.
Returns:
The term representing the xs:language for the specified string.

createLong

public ILongTerm createLong(long value)
Description copied from interface: IConcreteFactory

Create a new term representing a xs:long.

Specified by:
createLong in interface IConcreteFactory
Parameters:
value - The integer value representing the value of the xs:long.
Returns:
The term representing the xs:long for the specified integer value.

createNCName

public INCName createNCName(String name)
Description copied from interface: IConcreteFactory
Create a new term representing a xs:NCName.

Specified by:
createNCName in interface IConcreteFactory
Parameters:
name - The string value representing the value of the xs:NCName.
Returns:
The term representing the xs:NCName for the specified string.

createNMTOKEN

public INMTOKEN createNMTOKEN(String token)
Description copied from interface: IConcreteFactory
Create a new term representing a xs:NMTOKEN.

Specified by:
createNMTOKEN in interface IConcreteFactory
Parameters:
token - The string value representing the value of the xs:NMTOKEN.
Returns:
The term representing the xs:NMTOKEN for the specified string.

createName

public IName createName(String name)
Description copied from interface: IConcreteFactory
Create a new term representing a xs:Name.

Specified by:
createName in interface IConcreteFactory
Parameters:
name - The string value representing the value of the xs:Name.
Returns:
The term representing the xs:Name for the specified string.

createNegativeInteger

public INegativeInteger createNegativeInteger(BigInteger value)
Description copied from interface: IConcreteFactory

Create a new term representing a xs:negativeInteger.

Specified by:
createNegativeInteger in interface IConcreteFactory
Parameters:
value - The BigInteger value representing the value of the xs:negativeInteger.
Returns:
The term representing the xs:negativeInteger for the specified BigInteger value.

createNonNegativeInteger

public INonNegativeInteger createNonNegativeInteger(BigInteger value)
Description copied from interface: IConcreteFactory

Create a new term representing a xs:nonNegativeInteger.

Specified by:
createNonNegativeInteger in interface IConcreteFactory
Parameters:
value - The BigInteger value representing the value of the xs:nonNegativeInteger.
Returns:
The term representing the xs:nonNegativeInteger for the specified BigInteger value.

createNonPositiveInteger

public INonPositiveInteger createNonPositiveInteger(BigInteger value)
Description copied from interface: IConcreteFactory

Create a new term representing a xs:nonPositiveInteger.

Specified by:
createNonPositiveInteger in interface IConcreteFactory
Parameters:
value - The BigInteger value representing the value of the xs:nonPositiveInteger.
Returns:
The term representing the xs:nonPositiveInteger for the specified BigInteger value.

createNormalizedString

public INormalizedString createNormalizedString(String string)
Description copied from interface: IConcreteFactory
Create a new term representing a xs:normalizedString.

Specified by:
createNormalizedString in interface IConcreteFactory
Parameters:
string - The string value representing the value of the xs:normalizedString.
Returns:
The term representing the xs:normalizedString for the specified string.

createPositiveInteger

public IPositiveInteger createPositiveInteger(BigInteger value)
Description copied from interface: IConcreteFactory

Create a new term representing a xs:positiveInteger.

Specified by:
createPositiveInteger in interface IConcreteFactory
Parameters:
value - The BigInteger value representing the value of the xs:positiveInteger.
Returns:
The term representing the xs:positiveInteger for the specified BigInteger value.

createShort

public IShortTerm createShort(short value)
Description copied from interface: IConcreteFactory
Create a new term representing a xs:short.

Specified by:
createShort in interface IConcreteFactory
Parameters:
value - The integer value representing the value of the xs:short.
Returns:
The term representing the xs:short for the specified integer value.

createToken

public IToken createToken(String token)
Description copied from interface: IConcreteFactory
Create a new term representing a xs:token.

Specified by:
createToken in interface IConcreteFactory
Parameters:
token - The string value representing the value of the xs:token.
Returns:
The term representing the xs:token for the specified string.

createUnsignedByte

public IUnsignedByte createUnsignedByte(short value)
Description copied from interface: IConcreteFactory

Create a new term representing a xs:unsignedByte.

Specified by:
createUnsignedByte in interface IConcreteFactory
Parameters:
value - The short value representing the value of the xs:unsignedByte.
Returns:
The term representing the xs:unsignedByte for the specified short value.

createUnsignedInt

public IUnsignedInt createUnsignedInt(long value)
Description copied from interface: IConcreteFactory

Create a new term representing a xs:unsignedInt.

Specified by:
createUnsignedInt in interface IConcreteFactory
Parameters:
value - The long value representing the value of the xs:unsignedInt.
Returns:
The term representing the xs:unsignedInt for the specified long value.

createUnsignedLong

public IUnsignedLong createUnsignedLong(long value)

createUnsignedLong

public IUnsignedLong createUnsignedLong(BigInteger value)
Description copied from interface: IConcreteFactory

Create a new term representing a xs:unsignedLong.

Specified by:
createUnsignedLong in interface IConcreteFactory
Parameters:
value - The BigInteger value representing the value of the xs:unsignedLong.
Returns:
The term representing the xs:unsignedLong for the specified BigInteger value.

createUnsignedShort

public IUnsignedShort createUnsignedShort(int value)
Description copied from interface: IConcreteFactory

Create a new term representing a xs:unsignedShort.

Specified by:
createUnsignedShort in interface IConcreteFactory
Parameters:
value - The integer value representing the value of the xs:unsignedShort.
Returns:
The term representing the xs:unsignedShort for the specified integer value.

createInt

public IIntTerm createInt(int value)
Description copied from interface: IConcreteFactory

Create a new term representing a xs:int.

Specified by:
createInt in interface IConcreteFactory
Parameters:
value - The integer value representing the value of the xs:int.
Returns:
The term representing the xs:int for the specified integer value.

createDateTimeStamp

public IDateTime createDateTimeStamp(int year,
                                     int month,
                                     int day,
                                     int hour,
                                     int minute,
                                     double second,
                                     int tzHour,
                                     int tzMinute)
Description copied from interface: IConcreteFactory
Creates a dateTimeStamp term for the specified values.

Specified by:
createDateTimeStamp in interface IConcreteFactory
Parameters:
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.

createNOTATION

public INOTATION createNOTATION(String namespaceName,
                                String localPart)
Description copied from interface: IConcreteFactory
Creates a new term representing a xs:NOTATION.

Specified by:
createNOTATION in interface IConcreteFactory
Parameters:
namespaceName - The namespace name of the xs:NOTATION.
localPart - The local part of the xs:NOTATION. May be null.
Returns:
A term representing the xs:NOTATION for the specified namespace name and local part.

createQName

public IQName createQName(String namespaceName,
                          String localPart)
Description copied from interface: IConcreteFactory
Creates a new term representing a xs:QName.

Specified by:
createQName in interface IConcreteFactory
Parameters:
namespaceName - The namespace name of the xs:QName. May be null.
localPart - The local part of the xs:QName.
Returns:
A term representing the xs:QName for the specified namespace name and local part.