Open SiteSearch 4.1.1
Final

ORG.oclc.mantis.hooks
Class MARCHook

java.lang.Object
  |
  +--ORG.oclc.mantis.MantisHook
        |
        +--ORG.oclc.mantis.hooks.MARCHook

public class MARCHook
extends MantisHook


Field Summary
 boolean authCtrlToggle
           
 Hashtable elements
           
 String field_delimiter
           
static Hashtable hash1
           
static Hashtable hash2
           
 String lastSubFieldDelimiter
           
 boolean processChildren
           
 String recordtype
           
 String subfield_delimiter
           
 
Fields inherited from class ORG.oclc.mantis.MantisHook
action, args, content_type, displayWrapper, native_dir, next, noDisplay, processChildren
 
Constructor Summary
MARCHook()
           
 
Method Summary
 String display(String action, ElementInfoObject eio, MantisXML xmltree, boolean editable, boolean templateEditor, StringBuffer buf, String id)
           
 String HTMLEncode(String s, String action)
          HTML encodes the input String for display in HTML.
 boolean run(String action, Element el, MantisXML xmltree)
           
 
Methods inherited from class ORG.oclc.mantis.MantisHook
addArg, addError, addWarning, displayContent, displayContentAnchor, displayContentLabel, displayContentMailto, displayContentValue, displayDataCheck, displayEnlarger, displayError, displayHeader, displayHeading, displayHook, displayLabel, displayReplicable, displaySpacingElements, displayTableCell, displayWarning, doConstantData, export, exportMARC, fromNative, getInfo, HTMLDecode, isError, preExport, remap, removeArg, setError, setupArgs, toNative, update, view
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

processChildren

public boolean processChildren

hash1

public static final Hashtable hash1

hash2

public static final Hashtable hash2

elements

public Hashtable elements

subfield_delimiter

public String subfield_delimiter

lastSubFieldDelimiter

public String lastSubFieldDelimiter

field_delimiter

public String field_delimiter

recordtype

public String recordtype

authCtrlToggle

public boolean authCtrlToggle
Constructor Detail

MARCHook

public MARCHook()
Method Detail

display

public String display(String action,
                      ElementInfoObject eio,
                      MantisXML xmltree,
                      boolean editable,
                      boolean templateEditor,
                      StringBuffer buf,
                      String id)
Overrides:
display in class MantisHook

HTMLEncode

public String HTMLEncode(String s,
                         String action)
HTML encodes the input String for display in HTML.
Parameters:
s - the string to be URL encoded.
Returns:
a String containing the URL encoded HTML.

run

public boolean run(String action,
                   Element el,
                   MantisXML xmltree)
Overrides:
run in class MantisHook

Open SiteSearch 4.1.1
Final