org.purl.dc.elements
Class DublinCoreAnnotator

java.lang.Object
  extended by org.ow2.weblab.core.annotator.AbstractAnnotator
      extended by org.ow2.weblab.core.annotator.BaseAnnotator
          extended by org.purl.dc.elements.DublinCoreAnnotator

public class DublinCoreAnnotator
extends BaseAnnotator


Nested Class Summary
 
Nested classes/interfaces inherited from class org.ow2.weblab.core.annotator.AbstractAnnotator
AbstractAnnotator.Operator
 
Field Summary
protected static java.lang.String CONTRIBUTOR
           
protected static java.lang.String COVERAGE
           
protected static java.lang.String CREATOR
           
protected static java.lang.String DATE
           
protected static java.lang.String DESCRIPTION
           
protected static java.lang.String FORMAT
           
protected static java.lang.String IDENTIFIER
           
protected static java.lang.String LANGUAGE
           
protected static java.lang.String PREFIX
           
protected static java.lang.String PUBLISHER
           
protected static java.lang.String RELATION
           
protected static java.lang.String RIGHTS
           
protected static java.lang.String SOURCE
           
protected static java.lang.String SUBJECT
           
protected static java.lang.String TITLE
           
protected static java.lang.String TYPE
           
protected static java.net.URI URI
           
 
Fields inherited from class org.ow2.weblab.core.annotator.BaseAnnotator
RDF_PREFIX, RDF_URI, RDFS_PREFIX, RDFS_URI
 
Fields inherited from class org.ow2.weblab.core.annotator.AbstractAnnotator
annotation, isInnerAnnotatorStarted, originalURI, resource, subjectURI
 
Constructor Summary
DublinCoreAnnotator(Resource resource)
           
DublinCoreAnnotator(java.net.URI subject, PieceOfKnowledge pieceOfKnowledge)
           
 
Method Summary
 Value<java.lang.String> readContributor()
          Read the An entity responsible for making contributions to the resource.
 Value<java.lang.String> readCoverage()
          Read the The spatial or temporal topic of the resource, the spatial applicability of the resource, or the jurisdiction under which the resource is relevant.
 Value<java.lang.String> readCreator()
          Read the An entity primarily responsible for making the resource.
 Value<java.util.Date> readDate()
          Read the A point or period of time associated with an event in the lifecycle of the resource.
 Value<java.lang.String> readDescription()
          Read the An account of the resource.
 Value<java.lang.String> readFormat()
          Read the The file format, physical medium, or dimensions of the resource.
 Value<java.lang.String> readIdentifier()
          Read the An unambiguous reference to the resource within a given context.
 Value<java.lang.String> readLanguage()
          Read the A language of the resource.
 Value<java.lang.String> readPublisher()
          Read the An entity responsible for making the resource available.
 Value<java.lang.String> readRelation()
          Read the A related resource.
 Value<java.lang.String> readRights()
          Read the Information about rights held in and over the resource.
 Value<java.lang.String> readSource()
          Read the A related resource from which the described resource is derived.
 Value<java.lang.String> readSubject()
          Read the The topic of the resource.
 Value<java.lang.String> readTitle()
          Read the A name given to the resource.
 void writeContributor(java.lang.String value)
          Write the An entity responsible for making contributions to the resource.
 void writeCoverage(java.lang.String value)
          Write the The spatial or temporal topic of the resource, the spatial applicability of the resource, or the jurisdiction under which the resource is relevant.
 void writeCreator(java.lang.String value)
          Write the An entity primarily responsible for making the resource.
 void writeDate(java.util.Date value)
          Write the A point or period of time associated with an event in the lifecycle of the resource.
 void writeDescription(java.lang.String value)
          Write the An account of the resource.
 void writeFormat(java.lang.String value)
          Write the The file format, physical medium, or dimensions of the resource.
 void writeIdentifier(java.lang.String value)
          Write the An unambiguous reference to the resource within a given context.
 void writeLanguage(java.lang.String value)
          Write the A language of the resource.
 void writePublisher(java.lang.String value)
          Write the An entity responsible for making the resource available.
 void writeRelation(java.lang.String value)
          Write the A related resource.
 void writeRights(java.lang.String value)
          Write the Information about rights held in and over the resource.
 void writeSource(java.lang.String value)
          Write the A related resource from which the described resource is derived.
 void writeSubject(java.lang.String value)
          Write the The topic of the resource.
 void writeTitle(java.lang.String value)
          Write the A name given to the resource.
 
Methods inherited from class org.ow2.weblab.core.annotator.BaseAnnotator
readLabel, readType, writeLabel, writeType
 
Methods inherited from class org.ow2.weblab.core.annotator.AbstractAnnotator
applyOperator, endInnerAnnotator, endSpecifyLanguage, isAppendMode, retrieveAnnotation, setAppendMode, startInnerAnnotatorOn, startSpecifyLanguage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PREFIX

protected static final java.lang.String PREFIX
See Also:
Constant Field Values

URI

protected static final java.net.URI URI

TITLE

protected static final java.lang.String TITLE
See Also:
Constant Field Values

CREATOR

protected static final java.lang.String CREATOR
See Also:
Constant Field Values

SUBJECT

protected static final java.lang.String SUBJECT
See Also:
Constant Field Values

DESCRIPTION

protected static final java.lang.String DESCRIPTION
See Also:
Constant Field Values

PUBLISHER

protected static final java.lang.String PUBLISHER
See Also:
Constant Field Values

CONTRIBUTOR

protected static final java.lang.String CONTRIBUTOR
See Also:
Constant Field Values

DATE

protected static final java.lang.String DATE
See Also:
Constant Field Values

TYPE

protected static final java.lang.String TYPE
See Also:
Constant Field Values

FORMAT

protected static final java.lang.String FORMAT
See Also:
Constant Field Values

IDENTIFIER

protected static final java.lang.String IDENTIFIER
See Also:
Constant Field Values

SOURCE

protected static final java.lang.String SOURCE
See Also:
Constant Field Values

LANGUAGE

protected static final java.lang.String LANGUAGE
See Also:
Constant Field Values

RELATION

protected static final java.lang.String RELATION
See Also:
Constant Field Values

COVERAGE

protected static final java.lang.String COVERAGE
See Also:
Constant Field Values

RIGHTS

protected static final java.lang.String RIGHTS
See Also:
Constant Field Values
Constructor Detail

DublinCoreAnnotator

public DublinCoreAnnotator(java.net.URI subject,
                           PieceOfKnowledge pieceOfKnowledge)

DublinCoreAnnotator

public DublinCoreAnnotator(Resource resource)
Method Detail

readTitle

public Value<java.lang.String> readTitle()
Read the A name given to the resource.

Returns:
a String

writeTitle

public void writeTitle(java.lang.String value)
Write the A name given to the resource.

Parameters:
value - a String

readCreator

public Value<java.lang.String> readCreator()
Read the An entity primarily responsible for making the resource.

Returns:
a String

writeCreator

public void writeCreator(java.lang.String value)
Write the An entity primarily responsible for making the resource.

Parameters:
value - a String

readSubject

public Value<java.lang.String> readSubject()
Read the The topic of the resource.

Returns:
a String

writeSubject

public void writeSubject(java.lang.String value)
Write the The topic of the resource.

Parameters:
value - a String

readDescription

public Value<java.lang.String> readDescription()
Read the An account of the resource.

Returns:
a String

writeDescription

public void writeDescription(java.lang.String value)
Write the An account of the resource.

Parameters:
value - a String

readPublisher

public Value<java.lang.String> readPublisher()
Read the An entity responsible for making the resource available.

Returns:
a String

writePublisher

public void writePublisher(java.lang.String value)
Write the An entity responsible for making the resource available.

Parameters:
value - a String

readContributor

public Value<java.lang.String> readContributor()
Read the An entity responsible for making contributions to the resource.

Returns:
a String

writeContributor

public void writeContributor(java.lang.String value)
Write the An entity responsible for making contributions to the resource.

Parameters:
value - a String

readDate

public Value<java.util.Date> readDate()
Read the A point or period of time associated with an event in the lifecycle of the resource.

Returns:
a String

writeDate

public void writeDate(java.util.Date value)
Write the A point or period of time associated with an event in the lifecycle of the resource.

Parameters:
value - a String

readFormat

public Value<java.lang.String> readFormat()
Read the The file format, physical medium, or dimensions of the resource.

Returns:
a String

writeFormat

public void writeFormat(java.lang.String value)
Write the The file format, physical medium, or dimensions of the resource.

Parameters:
value - a String

readIdentifier

public Value<java.lang.String> readIdentifier()
Read the An unambiguous reference to the resource within a given context.

Returns:
a String

writeIdentifier

public void writeIdentifier(java.lang.String value)
Write the An unambiguous reference to the resource within a given context.

Parameters:
value - a String

readSource

public Value<java.lang.String> readSource()
Read the A related resource from which the described resource is derived.

Returns:
a String

writeSource

public void writeSource(java.lang.String value)
Write the A related resource from which the described resource is derived.

Parameters:
value - a String

readLanguage

public Value<java.lang.String> readLanguage()
Read the A language of the resource.

Returns:
a String

writeLanguage

public void writeLanguage(java.lang.String value)
Write the A language of the resource.

Parameters:
value - a String

readRelation

public Value<java.lang.String> readRelation()
Read the A related resource.

Returns:
a String

writeRelation

public void writeRelation(java.lang.String value)
Write the A related resource.

Parameters:
value - a String

readCoverage

public Value<java.lang.String> readCoverage()
Read the The spatial or temporal topic of the resource, the spatial applicability of the resource, or the jurisdiction under which the resource is relevant.

Returns:
a String

writeCoverage

public void writeCoverage(java.lang.String value)
Write the The spatial or temporal topic of the resource, the spatial applicability of the resource, or the jurisdiction under which the resource is relevant.

Parameters:
value - a String

readRights

public Value<java.lang.String> readRights()
Read the Information about rights held in and over the resource.

Returns:
a String

writeRights

public void writeRights(java.lang.String value)
Write the Information about rights held in and over the resource.

Parameters:
value - a String


Copyright © 2004-2010. All Rights Reserved.