|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ceryle.xnode.XNodeMetadataUtils
public class XNodeMetadataUtils
A class containing static methods used for obtaining XNode metadata. Each method returns a String, or null if the property is unavailable.
These include:
Note 1: The Collection and Node IDs, creation and modification dates are not included, as they are intrinsically handled by the XNode API itself.
Note 2: This uses a Dublin Core UK refinement DC.identifier.version.
| Field Summary | |
|---|---|
static String |
REFS_Id
An identifier for document (bibliographic) reference information ("REFS.Id"). |
static String |
REFS_isMetadataRef
A URI identifier for document (bibliographic) reference information ("http://purl.org/ceryle/xnode/isMetadataRef"). |
| Constructor Summary | |
|---|---|
XNodeMetadataUtils()
|
|
| Method Summary | |
|---|---|
static String |
getContributor(XNode xnode)
Returns the DC.Contributor property of the provided XNode. |
static String |
getCreator(XNode xnode)
Returns the DC.Creator (author) property of the provided XNode. |
static String |
getDescription(XNode xnode)
Returns the DC.Description property of the provided XNode. |
static String |
getFormat(XNode xnode)
Returns the DC.Format (MIME or IMT) property of the provided XNode. |
static String |
getIdentifier(XNode xnode)
Returns the DC.Identifier (system ID, a URI/URL) property of the provided XNode. |
static String |
getIsMetadataReference(XNode xnode)
Returns the Ceryle metadata reference property of the provided XNode. |
static String |
getReferences(XNode xnode)
Returns the DCTERMS.references property of the provided XNode. |
static String |
getRevision(XNode xnode)
Returns the DC.Identifier.version (revision ID) property of the provided XNode. |
static String |
getSource(XNode xnode)
Returns the DC.Source (a URI/URL) property of the provided XNode. |
static String |
getSubject(XNode xnode)
Returns the DC.Subject property of the provided XNode. |
static String |
getTitle(XNode xnode)
Returns the DC.Title property of the provided XNode. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String REFS_Id
public static final String REFS_isMetadataRef
| Constructor Detail |
|---|
public XNodeMetadataUtils()
| Method Detail |
|---|
public static String getTitle(XNode xnode)
public static String getIdentifier(XNode xnode)
public static String getSource(XNode xnode)
public static String getCreator(XNode xnode)
public static String getContributor(XNode xnode)
public static String getSubject(XNode xnode)
public static String getDescription(XNode xnode)
public static String getFormat(XNode xnode)
public static String getRevision(XNode xnode)
public static String getIsMetadataReference(XNode xnode)
REFS_isMetadataRefpublic static String getReferences(XNode xnode)
Note that the 's' on the end of the term indicates this as an active verb, not a plural noun.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||