ORG.oclc.mantis
Class MantisHook
java.lang.Object
|
+--ORG.oclc.mantis.MantisHook
- Direct Known Subclasses:
- ARCHInfo, Auth, BasicTranslator, CheckURLHook, CollapseSpaceHook, CompleteTagNameHook, CORCHeaderHook, DCElementHook, DCInfo, DCURLHook, DropDownSetup, ElementNameHook, ERESInfo, FormatDateHook, FormatLabelHook, MantisRaggedHook, MARCBigControlHook, MARCBigHook, MARCControlHook, MARCHook, MARCToDCTranslator, NextPage, NoSpaceHook, RBInfoDisplay, RequiredFieldHook, SaveInfo, SearchArchiveHook, URL, VerifyHREFHook, VerifyJassiIndexHook, VerifyNumericHook, VerifyUSZipCodeHook, VersionHook
- public class MantisHook
- extends Object
Method Summary |
protected void |
addArg(String n,
String v)
|
void |
addError(Element parent,
String message)
|
void |
addWarning(Element parent,
String message)
|
String |
display(String action,
ElementInfoObject eio,
MantisXML xmltree,
boolean editable,
boolean templateEditor,
StringBuffer buf,
String id)
|
String |
displayContent(String action,
ElementInfoObject eio,
MantisXML xmltree,
boolean editable,
boolean templateEditor,
StringBuffer buf,
String id)
|
String |
displayContentAnchor(String action,
ElementInfoObject eio,
MantisXML xmltree,
boolean editable,
boolean templateEditor,
StringBuffer buf,
String id)
|
String |
displayContentLabel(String action,
ElementInfoObject eio,
MantisXML xmltree,
boolean editable,
boolean templateEditor,
StringBuffer buf,
String id)
|
String |
displayContentMailto(String action,
ElementInfoObject eio,
MantisXML xmltree,
boolean editable,
boolean templateEditor,
StringBuffer buf,
String id)
|
String |
displayContentValue(String action,
ElementInfoObject eio,
MantisXML xmltree,
boolean editable,
boolean templateEditor,
StringBuffer buf,
String id)
|
String |
displayDataCheck(String action,
ElementInfoObject eio,
MantisXML xmltree,
boolean editable,
boolean templateEditor,
StringBuffer buf,
String id)
|
String |
displayEnlarger(String action,
ElementInfoObject eio,
MantisXML xmltree,
boolean editable,
boolean templateEditor,
StringBuffer buf,
String id)
|
String |
displayError(String action,
ElementInfoObject eio,
MantisXML xmltree,
boolean editable,
boolean templateEditor,
StringBuffer buf,
String id)
|
String |
displayHeader(String action,
ElementInfoObject eio,
MantisXML xmltree,
boolean editable,
boolean templateEditor,
StringBuffer buf,
String id)
|
String |
displayHeading(String action,
ElementInfoObject eio,
MantisXML xmltree,
boolean editable,
boolean templateEditor,
StringBuffer buf,
String id)
|
String |
displayHook(String action,
ElementInfoObject eio,
MantisXML xmltree,
boolean editable,
boolean templateEditor,
StringBuffer buf,
String id)
|
String |
displayLabel(String action,
ElementInfoObject eio,
MantisXML xmltree,
boolean editable,
boolean templateEditor,
StringBuffer buf,
String id)
|
String |
displayReplicable(String action,
ElementInfoObject eio,
MantisXML xmltree,
boolean editable,
boolean templateEditor,
StringBuffer buf,
String id)
|
String |
displaySpacingElements(String action,
ElementInfoObject eio,
MantisXML xmltree,
boolean editable,
boolean templateEditor,
StringBuffer buf,
String id)
|
String |
displayTableCell(String action,
ElementInfoObject eio,
MantisXML xmltree,
boolean editable,
boolean templateEditor,
StringBuffer buf,
String id)
|
String |
displayWarning(String action,
ElementInfoObject eio,
MantisXML xmltree,
boolean editable,
boolean templateEditor,
StringBuffer buf,
String id)
|
boolean |
doConstantData(DataDir constantData,
DataDir currentData)
|
String |
export(MantisXML xmltree,
Document xmldoc,
String action)
|
DataDir |
exportMARC(DataDir dir,
TagFile tf,
Hashtable user,
MantisUtil mu)
|
DataDir |
fromNative(DataDir dir,
TagFile tf,
Hashtable user,
MantisUtil mu)
|
MantisInfo |
getInfo(MantisXML xmltree)
|
String |
HTMLDecode(String s)
|
boolean |
isError()
|
void |
preExport(MantisXML xmltree,
Document xmldoc)
|
DataDir |
remap(DataDir dir,
TagFile tf,
Hashtable user)
|
protected void |
removeArg(String s)
|
boolean |
run(String action,
Element el,
MantisXML xmltree)
|
void |
setError()
|
void |
setupArgs(Element hook_el,
MantisXML xmltree)
|
DataDir |
toNative(DataDir dir,
DataDir native_dir,
TagFile tf,
Hashtable user,
MantisUtil mu)
|
DataDir |
update(DataDir dir,
TagFile tf,
Hashtable user,
MantisUtil mu)
|
String |
view(MantisXML xmltree,
Document xmldoc,
String action)
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
args
protected DataPairs args
processChildren
public boolean processChildren
displayWrapper
public boolean displayWrapper
noDisplay
public boolean noDisplay
next
public String next
action
public String action
native_dir
public DataDir native_dir
content_type
public String content_type
MantisHook
public MantisHook()
isError
public boolean isError()
setError
public void setError()
getInfo
public MantisInfo getInfo(MantisXML xmltree)
fromNative
public DataDir fromNative(DataDir dir,
TagFile tf,
Hashtable user,
MantisUtil mu)
toNative
public DataDir toNative(DataDir dir,
DataDir native_dir,
TagFile tf,
Hashtable user,
MantisUtil mu)
remap
public DataDir remap(DataDir dir,
TagFile tf,
Hashtable user)
preExport
public void preExport(MantisXML xmltree,
Document xmldoc)
export
public String export(MantisXML xmltree,
Document xmldoc,
String action)
view
public String view(MantisXML xmltree,
Document xmldoc,
String action)
update
public DataDir update(DataDir dir,
TagFile tf,
Hashtable user,
MantisUtil mu)
exportMARC
public DataDir exportMARC(DataDir dir,
TagFile tf,
Hashtable user,
MantisUtil mu)
display
public String display(String action,
ElementInfoObject eio,
MantisXML xmltree,
boolean editable,
boolean templateEditor,
StringBuffer buf,
String id)
displayHeader
public String displayHeader(String action,
ElementInfoObject eio,
MantisXML xmltree,
boolean editable,
boolean templateEditor,
StringBuffer buf,
String id)
displayError
public String displayError(String action,
ElementInfoObject eio,
MantisXML xmltree,
boolean editable,
boolean templateEditor,
StringBuffer buf,
String id)
displayWarning
public String displayWarning(String action,
ElementInfoObject eio,
MantisXML xmltree,
boolean editable,
boolean templateEditor,
StringBuffer buf,
String id)
displayLabel
public String displayLabel(String action,
ElementInfoObject eio,
MantisXML xmltree,
boolean editable,
boolean templateEditor,
StringBuffer buf,
String id)
displayDataCheck
public String displayDataCheck(String action,
ElementInfoObject eio,
MantisXML xmltree,
boolean editable,
boolean templateEditor,
StringBuffer buf,
String id)
displayHook
public String displayHook(String action,
ElementInfoObject eio,
MantisXML xmltree,
boolean editable,
boolean templateEditor,
StringBuffer buf,
String id)
displayHeading
public String displayHeading(String action,
ElementInfoObject eio,
MantisXML xmltree,
boolean editable,
boolean templateEditor,
StringBuffer buf,
String id)
displayTableCell
public String displayTableCell(String action,
ElementInfoObject eio,
MantisXML xmltree,
boolean editable,
boolean templateEditor,
StringBuffer buf,
String id)
displayEnlarger
public String displayEnlarger(String action,
ElementInfoObject eio,
MantisXML xmltree,
boolean editable,
boolean templateEditor,
StringBuffer buf,
String id)
displayReplicable
public String displayReplicable(String action,
ElementInfoObject eio,
MantisXML xmltree,
boolean editable,
boolean templateEditor,
StringBuffer buf,
String id)
displaySpacingElements
public String displaySpacingElements(String action,
ElementInfoObject eio,
MantisXML xmltree,
boolean editable,
boolean templateEditor,
StringBuffer buf,
String id)
displayContent
public String displayContent(String action,
ElementInfoObject eio,
MantisXML xmltree,
boolean editable,
boolean templateEditor,
StringBuffer buf,
String id)
displayContentLabel
public String displayContentLabel(String action,
ElementInfoObject eio,
MantisXML xmltree,
boolean editable,
boolean templateEditor,
StringBuffer buf,
String id)
displayContentAnchor
public String displayContentAnchor(String action,
ElementInfoObject eio,
MantisXML xmltree,
boolean editable,
boolean templateEditor,
StringBuffer buf,
String id)
displayContentMailto
public String displayContentMailto(String action,
ElementInfoObject eio,
MantisXML xmltree,
boolean editable,
boolean templateEditor,
StringBuffer buf,
String id)
displayContentValue
public String displayContentValue(String action,
ElementInfoObject eio,
MantisXML xmltree,
boolean editable,
boolean templateEditor,
StringBuffer buf,
String id)
setupArgs
public void setupArgs(Element hook_el,
MantisXML xmltree)
removeArg
protected void removeArg(String s)
addArg
protected void addArg(String n,
String v)
run
public boolean run(String action,
Element el,
MantisXML xmltree)
doConstantData
public boolean doConstantData(DataDir constantData,
DataDir currentData)
HTMLDecode
public String HTMLDecode(String s)
addError
public void addError(Element parent,
String message)
addWarning
public void addWarning(Element parent,
String message)