public class SearchEngineService extends AbstractXholonService
TODO wikipedia has lots of List_of_abc entries
activated
SIG_ADD_REQUEST, SIG_PROCESS_REQUEST, SIG_RESPONSE, SIG_RESPONSE_ERROR, XHSRV_ABOUT, XHSRV_BERKELEY_DB, XHSRV_BLACKBOARD, XHSRV_BLUEPRINTS, XHSRV_CHART_VIEWER, XHSRV_CSS, XHSRV_DATABASE, XHSRV_DUMMY, XHSRV_EXTERNAL_FORMAT, XHSRV_GAME_ENGINE, XHSRV_GIST, XHSRV_GRAPHICAL_NETWORK_VIEWER, XHSRV_GRAPHICAL_TREE_VIEWER, XHSRV_GRID_VIEWER, XHSRV_HISTOGRAM, XHSRV_JAVA_SERIALIZATION, XHSRV_JAXEN, XHSRV_JCR, XHSRV_JXPATH, XHSRV_LOG, XHSRV_MATHSCIENG, XHSRV_MEDIA, XHSRV_NETLOGO, XHSRV_NODE_SELECTION, XHSRV_NOSQL, XHSRV_PCSPATH, XHSRV_PRE_CONFIGURATION, XHSRV_RECORD_PLAYBACK, XHSRV_REFLECTION, XHSRV_REST, XHSRV_SBML, XHSRV_SCRIPT, XHSRV_SEARCH_ENGINE, XHSRV_SEMANTIC_WEB, XHSRV_SERVICE_LOCATOR, XHSRV_SPRING_FRAMEWORK, XHSRV_SVG_VIEW, XHSRV_TEXT_TREE_VIEWER, XHSRV_TIMELINE, XHSRV_VALIDATION, XHSRV_VFS, XHSRV_VRML, XHSRV_WIRING, XHSRV_XHOLON_CREATION, XHSRV_XHOLON_DIRECTORY, XHSRV_XHOLON_HELPER, XHSRV_XHOLON2XML, XHSRV_XML_DATABASE, XHSRV_XML_READER, XHSRV_XML_VALIDATION, XHSRV_XML_WRITER, XHSRV_XML2XHOLON, XHSRV_XPATH, XHSRV_XQUERY
DEFAULT_SIZE_MSG_Q, DEFAULT_SIZE_SYSTEM_MSG_Q, GETNAME_DEFAULT, GETNAME_LOCALPART_ID, GETNAME_NOROLENAME, GETNAME_ROLENAME_OR_CLASSNAME, GETNAME_ROLENAMESEP_, GETNAME_SIZE_TEMPLATE, NINCLUDE_PSC, NINCLUDE_PSx, NINCLUDE_PxC, NINCLUDE_Pxx, NINCLUDE_xSC, NINCLUDE_xSx, NINCLUDE_xxC, NINCLUDE_xxx, XHOLON_ID_DEFAULT, XHOLON_ID_NULL
Constructor and Description |
---|
SearchEngineService() |
Modifier and Type | Method and Description |
---|---|
void |
doAction(java.lang.String action)
Do a specific action that this xholon knows how to do.
|
java.lang.String[] |
getActionList()
Get a list of actions that this xholon can do.
|
java.lang.String |
getListOf() |
IXholon |
getService(java.lang.String serviceName)
Give the service a chance to configure itself before it's returned to a client.
|
boolean |
isPreferRoleName() |
void |
setListOf(java.lang.String listOf) |
void |
setPreferRoleName(boolean preferRoleName) |
java.lang.String |
splitCamelCase(java.lang.String s,
java.lang.String r)
Convert camel case to human readable.
|
act, getServiceLocatorService, hasAnnotation, isActivated, postAct, preAct, setActivated, toXmlAttributes
actNr, appendChild, appendChild, appendChild, appendsOwnChildren, bindPorts, cleanup, compareTo, configure, configure, consoleLog, decVal, decVal, depth, equals, findFirstChildWithXhClass, findFirstChildWithXhClass, forwardMessage, forwardSyncMessage, getAllPorts, getAnnotation, getApp, getAttributeNodeXh, getAttributeXh, getChildNodes, getClassNode, getClassNode, getFactory, getFirstChild, getFirstSibling, getId, getInteraction, getInteractionsEnabled, getIQueueImplName, getLastChild, getLastSibling, getLogger, getMsgQ, getName, getName, getNeighbors, getNextSibling, getNthChild, getNthSibling, getNumChildren, getNumLevels, getNumSiblings, getParentNode, getPort, getPort, getPreviousSibling, getRoleName, getRootNode, getSelfAndSiblings, getSelfAndSiblingsIndex, getSiblings, getSystemMsgQ, getUid, getUri, getVal_boolean, getVal_byte, getVal_char, getVal_double, getVal_float, getVal_int, getVal_long, getVal_Object, getVal_short, getVal_String, getVal, getXhc, getXhcId, getXhcName, getXholon2Xml, getXhType, getXml2Xholon, getXPath, handleNodeSelection, handleNodeSelection, hasAncestor, hasAttributeXh, hasChildNodes, hasChildOrSiblingNodes, hasNextSibling, hasParentNode, hasSiblingNodes, height, incVal, incVal, initialize, initStatics, inOrderPrint, insertAfter, insertAfter, insertAfter, insertBefore, insertBefore, insertBefore, insertFirstChild, isActiveObject, isAttributeHandler, isBound, isContainer, isExternal, isInternal, isLeaf, isPassiveObject, isRootNode, isUniqueSibling, isUniqueSiblingRoleName, performActivity, performActivity, performBooleanActivity, performBooleanActivity, performDoubleActivity, performGuard, performVoidActivity, postConfigure, postOrderPrint, postReconfigure, preConfigure, preOrderPrint, preReconfigure, print, println, processMessageQ, processReceivedMessage, processReceivedSyncMessage, processSystemMessageQ, reconfigure, registerMessageForwardee, remove, removeAttributeNodeXh, removeAttributeXh, removeChild, replaceNode, searchForReferencingNodes, searchForReferencingNodesRecurse, sendMessage, sendMessage, sendMessage, sendSyncMessage, sendSyncMessage, sendSyncMessage, sendSystemMessage, sendSystemMessage, setActionList, setAnnotation, setApp, setAttributeNodeXh, setAttributeVal, setAttributeXh, setFirstChild, setId, setName, setNextSibling, setParentChildLinks, setParentNode, setParentSiblingLinks, setPort, setPort, setPorts, setRoleName, setUid, setUri, setVal_boolean, setVal_byte, setVal_char, setVal_double, setVal_float, setVal_int, setVal_long, setVal_Object, setVal_short, setVal_String, setVal, setVal, setVal, setVal, setVal, setVal, setVal, setVal, setVal, setVal, setXhc, showAnnotation, swapNode, terminate, toString, toXml, toXmlAttribute, toXmlText, treeSize, visit
public IXholon getService(java.lang.String serviceName)
AbstractXholonService
getService
in interface IXholon
getService
in class AbstractXholonService
serviceName
- The name of a service.
This is the name used in XholonService.xml, which is the IXholonClass name.Xholon.getService(java.lang.String)
public java.lang.String[] getActionList()
IXholon
getActionList
in interface IXholon
getActionList
in class Xholon
public void doAction(java.lang.String action)
IXholon
public java.lang.String splitCamelCase(java.lang.String s, java.lang.String r)
s
- A string that may contain camel case (ex: HelloWorld).r
- The replacement character (ex: "_").TODO if there's already an "_", don't do anything
public boolean isPreferRoleName()
public void setPreferRoleName(boolean preferRoleName)
preferRoleName
- Whether or not the roleName should be taken as the search term.
If false or if there is no roleName, then the IXholonClassName is used.public java.lang.String getListOf()
public void setListOf(java.lang.String listOf)