Class XMLSchema
java.lang.Object
it.uniroma2.art.semanticturkey.services.STServiceAdapter
it.uniroma2.art.semanticturkey.services.core.XMLSchema
- All Implemented Interfaces:
NewerNewStyleService
,STService
-
Field Summary
Fields inherited from class it.uniroma2.art.semanticturkey.services.STServiceAdapter
applicationEventPublisher, cfManager, exptManager, stServiceContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionformatDate
(int year, int month, int day) formatDateTime
(int year, int month, int day, int hour, int minute, int second, String offset) formatDuration
(boolean isPositive, int year, int month, int day, int hour, int minute, int second) formatTime
(int hour, int minute, int second) Methods inherited from class it.uniroma2.art.semanticturkey.services.STServiceAdapter
addValue, checkNotLocallyDefined, createQueryBuilder, generateIRI, generateNatureSPARQLSelectPart, generateNatureSPARQLWherePart, generateResourceWithCustomConstructor, getCodaLexModeForSearchFromLexicalizationModel, getDeleteGraph, getGraphFromNature, getInitializedCodaCore, getManagedConnection, getMetadataGraph, getOptionalProject, getPlatformTransactionManager, getProject, getRepository, getRoleFromNature, getUserNamedGraphs, getWorkingGraph, instantiateSearchStrategy, instantiateSearchStrategy, parseReference, publishResourceDeleted, publishResourceDeleted, removeReifiedValue, retrieveResources, shutDownCodaCore, updateTriplePredicate
-
Constructor Details
-
XMLSchema
public XMLSchema()
-
-
Method Details
-
formatDateTime
@STServiceOperation public FormattedValue formatDateTime(int year, int month, int day, int hour, int minute, int second, @Optional(defaultValue="Z") String offset) throws ParseException - Throws:
ParseException
-
formatDate
@STServiceOperation public FormattedValue formatDate(int year, int month, int day) throws ParseException - Throws:
ParseException
-
formatTime
@STServiceOperation public FormattedValue formatTime(int hour, int minute, int second) throws ParseException - Throws:
ParseException
-
formatDuration
@STServiceOperation public FormattedValue formatDuration(@Optional(defaultValue="true") boolean isPositive, @Optional(defaultValue="0") int year, @Optional(defaultValue="0") int month, @Optional(defaultValue="0") int day, @Optional(defaultValue="0") int hour, @Optional(defaultValue="0") int minute, @Optional(defaultValue="0") int second) throws ParseException - Throws:
ParseException
-
formatCurrentLocalDateTime
-
formatCurrentUTCDateTime
-