Package org.marc4j.marcxml
Class MarcResult
- java.lang.Object
-
- org.marc4j.marcxml.MarcResult
-
- All Implemented Interfaces:
Result
public class MarcResult extends Object implements Result
Collects the result of a MARC conversion.
- Author:
- Bas Peters
- See Also:
MarcHandler
-
-
Field Summary
-
Fields inherited from interface javax.xml.transform.Result
PI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING
-
-
Constructor Summary
Constructors Constructor Description MarcResult()
MarcResult(MarcHandler handler)
Create a new instance and registers the MarcHandler implementation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MarcHandler
getHandler()
Returns the MarcHandler implementation.String
getSystemId()
Returns the system identifier.void
setHandler(MarcHandler handler)
Registers the MarcHandler implementation.void
setSystemId(String systemID)
Registers the systemID.
-
-
-
Constructor Detail
-
MarcResult
public MarcResult()
-
MarcResult
public MarcResult(MarcHandler handler)
Create a new instance and registers the MarcHandler implementation.
- Parameters:
handler
- theMarcHandler
implementation
-
-
Method Detail
-
setHandler
public void setHandler(MarcHandler handler)
Registers the MarcHandler implementation.
- Parameters:
handler
- theMarcHandler
implementation
-
setSystemId
public void setSystemId(String systemID)
Registers the systemID.
- Specified by:
setSystemId
in interfaceResult
- Parameters:
systemID
- the system identifier
-
getHandler
public MarcHandler getHandler()
Returns the MarcHandler implementation.
- Returns:
- MarcHandler - the MarcHandler implementation
-
getSystemId
public String getSystemId()
Returns the system identifier.
- Specified by:
getSystemId
in interfaceResult
- Returns:
- String - the system identifier
-
-