|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.mkdoc.schema.AbstractSchemaProperty | +--com.mkdoc.schema.DCTermProperty
A Dublin Core qualified term schema property.
Field Summary |
Fields inherited from class com.mkdoc.schema.AbstractSchemaProperty |
encoding, label, name, uri, uriEncoding |
Constructor Summary | |
DCTermProperty(java.lang.String uri,
java.lang.String label,
java.lang.String name)
Basic constructor for instances without encoding. |
|
DCTermProperty(java.lang.String uri,
java.lang.String label,
java.lang.String name,
boolean encoding)
Construct a property with an optional encoding scheme. |
|
DCTermProperty(java.lang.String uri,
java.lang.String label,
java.lang.String name,
boolean encoding,
boolean uriEncoding)
Good citizen constructor. |
Method Summary | |
boolean |
equals(java.lang.Object other)
Check equivalance of properties. |
java.util.Locale |
getLocale()
Get the locale of the property for case conversions, etc. |
java.lang.String |
getNamespacePrefix()
Get the namespace prefix for the class. |
java.lang.String |
getNamespaceUri()
Get the namespace URI for the class. |
int |
hashCode()
Get a distinct hash code value. |
Methods inherited from class com.mkdoc.schema.AbstractSchemaProperty |
getBNodeVariable, getLabel, getName, getNameVariable, getParameterName, getQualifiedName, getUri, hasEncodingScheme, hasUriEncodingScheme |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.mkdoc.schema.SchemaProperty |
getBNodeVariable, getLabel, getName, getNameVariable, getParameterName, getQualifiedName, getUri, hasEncodingScheme, hasUriEncodingScheme |
Constructor Detail |
public DCTermProperty(java.lang.String uri, java.lang.String label, java.lang.String name)
uri
- The resource URI.label
- The resource label.name
- The unique resource name.public DCTermProperty(java.lang.String uri, java.lang.String label, java.lang.String name, boolean encoding)
uri
- The resource URI.label
- The resource label.name
- The unique resource name.encoding
- Whether the instance has an encoding scheme that
may be applied to it.public DCTermProperty(java.lang.String uri, java.lang.String label, java.lang.String name, boolean encoding, boolean uriEncoding)
uri
- The resource URI.label
- The resource label.name
- The unique resource name.encoding
- Whether the instance has an encoding scheme that
may be applied to it.uriEncoding
- Whether the instance may have a URI encoding
scheme.Method Detail |
public final java.lang.String getNamespacePrefix()
getNamespacePrefix
in interface SchemaProperty
getNamespacePrefix
in class AbstractSchemaProperty
public final java.lang.String getNamespaceUri()
getNamespaceUri
in interface SchemaProperty
public final boolean equals(java.lang.Object other)
equals
in class AbstractSchemaProperty
other
- The object to compare with this.
true
if the other object is equivalent to this.public final int hashCode()
hashCode
in class AbstractSchemaProperty
public final java.util.Locale getLocale()
getLocale
in interface SchemaProperty
getLocale
in class AbstractSchemaProperty
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |