|
|||||||||
| Home >> All >> com >> k_int >> [ hss overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.k_int.hss
Class ProxyFragment

java.lang.Objectcom.k_int.hss.ProxyFragment
- All Implemented Interfaces:
- com.k_int.IR.InformationFragment, java.io.Serializable
- public class ProxyFragment
- extends java.lang.Object
- implements com.k_int.IR.InformationFragment, java.io.Serializable
- extends java.lang.Object
ProxyFragment: A Fragment created when several result sets are merged. This fragment contains information about the original source of the record, and may cache different formats of the record.
| Field Summary | |
private static LoggingContext |
cat
|
private com.k_int.IR.InformationFragment |
default_fragment
|
private com.k_int.IR.RecordFormatSpecification |
default_fragment_spec
|
private java.lang.Object |
handle
|
private int |
position
|
private java.lang.String |
source_collection_name
|
private int |
source_id
|
private java.lang.String |
source_repository_id
|
| Constructor Summary | |
ProxyFragment(int source_id,
java.lang.String source_repository_id,
java.lang.String source_collection_name,
int position_at_source,
com.k_int.IR.InformationFragment default_fragment,
com.k_int.IR.RecordFormatSpecification default_fragment_format_spec)
|
|
| Method Summary | |
protected void |
finalize()
Called on an object by the Virtual Machine at most once, at some point after the Object is determined unreachable but before it is destroyed. |
com.k_int.IR.InformationFragment |
getDefaultFragment()
|
org.w3c.dom.Document |
getDocument()
Get DOM representation for this object... |
java.lang.String |
getDocumentSchema()
|
com.k_int.IR.RecordFormatSpecification |
getFormatSpecification()
Describe the format of this fragment.. |
java.lang.Object |
getOriginalObject()
|
java.lang.String |
getOriginalObjectClassName()
|
int |
getPosition()
|
java.lang.String |
getSourceCollectionName()
getSourceCollectionName: The ID of the collection from which the fragment came. |
java.lang.Object |
getSourceFragmentID()
|
int |
getSourceId()
|
java.lang.String |
getSourceRepositoryID()
getSourceRepositoryID : return a string that identifies the repository from which this record came. |
java.lang.String |
toString()
Convert this Object to a human-readable String. |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
cat
private static transient LoggingContext cat
source_repository_id
private java.lang.String source_repository_id
source_collection_name
private java.lang.String source_collection_name
handle
private java.lang.Object handle
position
private int position
source_id
private int source_id
default_fragment
private com.k_int.IR.InformationFragment default_fragment
default_fragment_spec
private com.k_int.IR.RecordFormatSpecification default_fragment_spec
| Constructor Detail |
ProxyFragment
public ProxyFragment(int source_id,
java.lang.String source_repository_id,
java.lang.String source_collection_name,
int position_at_source,
com.k_int.IR.InformationFragment default_fragment,
com.k_int.IR.RecordFormatSpecification default_fragment_format_spec)
| Method Detail |
finalize
protected void finalize()
- Description copied from class:
java.lang.Object - Called on an object by the Virtual Machine at most once,
at some point after the Object is determined unreachable
but before it is destroyed. You would think that this
means it eventually is called on every Object, but this is
not necessarily the case. If execution terminates
abnormally, garbage collection does not always happen.
Thus you cannot rely on this method to always work.
For finer control over garbage collection, use references
from the
java.lang.refpackage.Virtual Machines are free to not call this method if they can determine that it does nothing important; for example, if your class extends Object and overrides finalize to do simply
super.finalize().finalize() will be called by a java.lang.Thread that has no locks on any Objects, and may be called concurrently. There are no guarantees on the order in which multiple objects are finalized. This means that finalize() is usually unsuited for performing actions that must be thread-safe, and that your implementation must be use defensive programming if it is to always work.
If an Exception is thrown from finalize() during garbage collection, it will be patently ignored and the Object will still be destroyed.
It is allowed, although not typical, for user code to call finalize() directly. User invocation does not affect whether automatic invocation will occur. It is also permitted, although not recommended, for a finalize() method to "revive" an object by making it reachable from normal code again.
Unlike constructors, finalize() does not get called for an object's superclass unless the implementation specifically calls
super.finalize().The default implementation does nothing.
getOriginalObject
public java.lang.Object getOriginalObject()
- Specified by:
getOriginalObjectin interfacecom.k_int.IR.InformationFragment
getOriginalObjectClassName
public java.lang.String getOriginalObjectClassName()
- Specified by:
getOriginalObjectClassNamein interfacecom.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:
getDocumentin interfacecom.k_int.IR.InformationFragment
getDocumentSchema
public java.lang.String getDocumentSchema()
- Specified by:
getDocumentSchemain interfacecom.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:
getSourceRepositoryIDin interfacecom.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:
getSourceCollectionNamein interfacecom.k_int.IR.InformationFragment
getSourceFragmentID
public java.lang.Object getSourceFragmentID()
- Specified by:
getSourceFragmentIDin interfacecom.k_int.IR.InformationFragment
getSourceId
public int getSourceId()
getPosition
public int getPosition()
getDefaultFragment
public com.k_int.IR.InformationFragment getDefaultFragment()
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:
getFormatSpecificationin interfacecom.k_int.IR.InformationFragment
|
|||||||||
| Home >> All >> com >> k_int >> [ hss overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.k_int.hss.ProxyFragment