maiolum.nxdb
Class XMLFID
java.lang.Object
maiolum.FID
maiolum.nxdb.XMLFID
- All Implemented Interfaces:
- java.lang.Cloneable
- public class XMLFID
- extends FID
- Author:
- Robert Novotny
|
Constructor Summary |
XMLFID(java.lang.String id)
|
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
NUMERIC_ID_PREFIX
public static final java.lang.String NUMERIC_ID_PREFIX
- See Also:
- Constant Field Values
XMLFID
public XMLFID(java.lang.String id)
toString
public java.lang.String toString()
- Returns String representation from this
XMLFID
object. This is given as concatenation of chapter id, separator and
verse id. For example: "Mt1:1", where ':' is separator.
However, if the chapter id starts with a number, a underscore _
character is prepended to the chapter. This is to ensure that
the string representation conforms to the XML identification attribute
requirements.
- Overrides:
toString in class FID
getCanonicalString
public java.lang.String getCanonicalString()
- Overrides:
getCanonicalString in class FID
toDebugString
public java.lang.String toDebugString()
- Overrides:
toDebugString in class FID
main
public static void main(java.lang.String[] args)