|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DatatypeHandler
Instances of this class are responsible for various operations on datatypes, such as loading or storing the datatype.
| Method Summary | |
|---|---|
java.lang.String[] |
getAdditionalDatatypeURIs()
Returns additional URIs of the datatype. |
java.lang.String |
getDatatypeURI()
Returns the URI of the datatype. |
boolean |
handles(java.lang.Object object)
Returns true if this handler handles object of given type. |
java.lang.Object |
parseObject(java.lang.String objectValue)
Creates an object of this datatype having the given string representation. |
java.lang.String |
toString(java.lang.Object object)
Creates the string representation of an object. |
| Method Detail |
|---|
boolean handles(java.lang.Object object)
true if this handler handles object of given type.
object - the object
true if this handler is repsonsible for the given objectjava.lang.String getDatatypeURI()
java.lang.String[] getAdditionalDatatypeURIs()
java.lang.String toString(java.lang.Object object)
object - the object
java.lang.Object parseObject(java.lang.String objectValue)
throws KAON2Exception
objectValue - the value of the object
KAON2Exception - thrown if string cannot be parsed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||