java.lang.Object
com.k_int.IR.Syntaxes.iso2709
- All Implemented Interfaces:
- com.k_int.IR.InformationFragment, java.io.Serializable
- public class iso2709
- extends java.lang.Object
- implements com.k_int.IR.InformationFragment, java.io.Serializable
|
Constructor Summary |
iso2709(java.lang.Object source)
|
iso2709(java.lang.Object source,
java.lang.String character_encoding)
|
iso2709(java.lang.String source_repository,
java.lang.String source_collection_name,
com.k_int.IR.RecordFormatSpecification spec,
java.lang.Object handle,
java.lang.Object source)
|
iso2709(java.lang.String source_repository,
java.lang.String source_collection_name,
com.k_int.IR.RecordFormatSpecification spec,
java.lang.Object handle,
java.lang.Object source,
java.lang.String character_encoding)
|
source_repository
protected java.lang.String source_repository
source_collection_name
protected java.lang.String source_collection_name
handle
protected java.lang.Object handle
source_record
protected byte[] source_record
xml_rep
protected org.w3c.dom.Document xml_rep
character_encoding
protected java.lang.String character_encoding
default_character_encoding
protected static transient java.lang.String default_character_encoding
spec
private com.k_int.IR.RecordFormatSpecification spec
ISO2709_RECORD_TERMINATOR
public static final transient char ISO2709_RECORD_TERMINATOR
- See Also:
- Constant Field Values
ISO2709_FIELD_TERMINATOR
public static final transient char ISO2709_FIELD_TERMINATOR
- See Also:
- Constant Field Values
ISO2709_DELIMITER
public static final transient char ISO2709_DELIMITER
- See Also:
- Constant Field Values
cat
private static transient LoggingContext cat
iso2709
public iso2709(java.lang.Object source)
iso2709
public iso2709(java.lang.Object source,
java.lang.String character_encoding)
iso2709
public iso2709(java.lang.String source_repository,
java.lang.String source_collection_name,
com.k_int.IR.RecordFormatSpecification spec,
java.lang.Object handle,
java.lang.Object source)
iso2709
public iso2709(java.lang.String source_repository,
java.lang.String source_collection_name,
com.k_int.IR.RecordFormatSpecification spec,
java.lang.Object handle,
java.lang.Object source,
java.lang.String character_encoding)
getOriginalObject
public java.lang.Object getOriginalObject()
- Specified by:
getOriginalObject in interface com.k_int.IR.InformationFragment
getOriginalObjectClassName
public java.lang.String getOriginalObjectClassName()
- Specified by:
getOriginalObjectClassName in interface com.k_int.IR.InformationFragment
getDocument
public org.w3c.dom.Document getDocument()
- Description copied from interface:
com.k_int.IR.InformationFragment
- Get DOM representation for this object... Should take account of schemas when translating &
use namespaces where possible (E.G. gils, meta, generic namespace in converted GRS records)
- Specified by:
getDocument in interface com.k_int.IR.InformationFragment
getDocumentSchema
public java.lang.String getDocumentSchema()
- Specified by:
getDocumentSchema in interface com.k_int.IR.InformationFragment
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object
- Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method
never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string
concatenation with this object. If the result is
null, string concatenation will instead
use "null".
The default implementation returns
getClass().getName() + "@" +
Integer.toHexString(hashCode()).
getSourceRepositoryID
public java.lang.String getSourceRepositoryID()
- Description copied from interface:
com.k_int.IR.InformationFragment
- getSourceRepositoryID : return a string that identifies the repository from which this
record came. For example, "LC" might be used to identify the Library of Congress Z server.
- Specified by:
getSourceRepositoryID in interface com.k_int.IR.InformationFragment
getSourceCollectionName
public java.lang.String getSourceCollectionName()
- Description copied from interface:
com.k_int.IR.InformationFragment
- getSourceCollectionName: The ID of the collection from which the fragment came.
For example, z3950 database name
- Specified by:
getSourceCollectionName in interface com.k_int.IR.InformationFragment
getSourceFragmentID
public java.lang.Object getSourceFragmentID()
- Specified by:
getSourceFragmentID in interface com.k_int.IR.InformationFragment
convert
private org.w3c.dom.Document convert()
hexDump
private java.lang.String hexDump(java.lang.String s)
getFormatSpecification
public com.k_int.IR.RecordFormatSpecification getFormatSpecification()
- Description copied from interface:
com.k_int.IR.InformationFragment
- Describe the format of this fragment..
- Specified by:
getFormatSpecification in interface com.k_int.IR.InformationFragment