public class UcdStatus extends Object
getStatus(java.lang.String)
method tests a UCD string to determine whether
it conforms to standards, and returns an object that reports this.
UCD1+ and UCD1 are recognised.
Gregory Mantelet's Ucidy library is used for UCD1+ parsing.
Modifier and Type | Class and Description |
---|---|
static class |
UcdStatus.Code
Characterises UCD standards conformance.
|
Modifier | Constructor and Description |
---|---|
protected |
UcdStatus(UcdStatus.Code code,
String message)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
UcdStatus.Code |
getCode()
Returns a status element indicating conformance.
|
String |
getMessage()
Returns a human-readable message supplying additional information.
|
static ari.ucidy.UCDParser |
getParser()
Returns the UCD parser used by this class.
|
static UcdStatus |
getStatus(String ucd)
Returns the status for a given UCD string.
|
protected UcdStatus(UcdStatus.Code code, String message)
code
- status codemessage
- human-readable message supplying additional informationpublic UcdStatus.Code getCode()
public String getMessage()
public static UcdStatus getStatus(String ucd)
ucd
- UCD textpublic static ari.ucidy.UCDParser getParser()
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.