public class XhEnglish2French extends XholonWithPorts implements CeEnglish2French
Xholon 0.7 http://www.primordion.com/Xholon
TODO jump over ellipse pairs; ex: one ( two three four ) fiveModifier and Type | Field and Description |
---|---|
static java.lang.String |
POS_A |
static java.lang.String |
POS_Adv |
static java.lang.String |
POS_Conj |
static java.lang.String |
POS_D |
static java.lang.String |
POS_N |
static java.lang.String |
POS_NULL |
static java.lang.String |
POS_P |
static java.lang.String |
POS_Pron |
static java.lang.String |
POS_Q |
static java.lang.String |
POS_S |
static java.lang.String |
POS_V |
java.lang.String |
roleName |
static int |
SamplePort |
static int |
SIG_SAMPLE |
port
A_FPL_ACE, A_FPL_BCE, A_FPL_CCE, A_FPL_DCE, A_FPL_ECE, A_FPL_FCE, A_FPL_GCE, A_FPL_HCE, A_FPL_ICE, A_FPL_LCE, A_FPL_NCE, A_FPL_RCE, A_FPL_SCE, A_FPL_TCE, A_FPL_WCE, A_FPL_XCE, A_FPL_YCE, A_FPL_ZCE, A_FPLCE, B_CET_ACE, B_LEL_ACE, B_POS_ACE, B_UNE_ACE, BracketCE, C_CEL_ACE, C_FEM_ACE, C_FEM_ECE, C_FPL_ACE, C_JEV_HCE, C_PLU_ACE, C_PLU_LCE, C_PLU_UCE, C_PLU_XCE, C_PLUCE, C_POS_BCE, C_POS_ECE, C_REF_XCE, CircleMarkerCE, ClosedBracketCE, ClosedEllipseCE, CM_jjCE, CM_nnCE, CM_npCE, CM_ppCE, CM_vcCE, CM_vvCE, CM_xxCE, D_ALE_ACE, D_DED_ECE, D_DLE_SCE, Drill_Eng2FrCE, Drill_Fr2EngCE, DrillCE, EllipseCE, FlagCE, FlagPassCE, FlagsCE, FourLetterCodeCE, Fr2EngSystemCE, FrqCE, G_CEL_BCE, G_CIL_ACE, G_CIL_BCE, G_CILCE, G_PLU_SCE, G_QUE_ACE, G_SUP_ACE, GenderCE, GenderFCE, GenderFPCE, GenderFSCE, GenderMCE, GenderMPCE, GenderMSCE, H_seriesCE, I_seriesCE, J_AND_ACE, J_ORR_ACE, KeyCE, LemmaCE, LexemeCE, LexiconCE, LexiconIndexCE, LexiconIndexItemCE, MorphCE, MorphPlural_AlreadyPluralCE, MorphPlural_FfeCE, MorphPlural_IrregularCE, MorphPlural_NoChangeCE, MorphPlural_OesCE, MorphPlural_RegularCE, MorphPlural_SibilantCE, MorphPlural_YCE, MorphPluralCE, N_JAM_ACE, N_PAS_ACE, N_RIN_ACE, OpenBracketCE, OpenEllipseCE, PassCE, PosACE, PosAdvCE, PosCE, PosConjCE, PosDCE, PosNCE, PosPCE, PosPronCE, PosQCE, PosSCE, PosVCE, Q_QUI_QCE, Q_QUI_RCE, SEngCE, SEngsCE, SFrCE, T_AFT_ACE, T_PRO_NCE, TokenCE, TokenPassCE, TransformCE, TransformRefCE, TransformsCE, V_AVO_RCE, V_IMP_ACE, V_QUE_ACE, V_QUE_BCE, V_QUE_CCE, V_QUE_DCE, V_QUE_ECE, V_QUE_FCE, V_QUECE, VerbClassCE, WordPassCE, WordRuleCE, X_QQQ_QCE, X_XXX_XCE, XholonClassCE
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 |
---|
XhEnglish2French() |
Modifier and Type | Method and Description |
---|---|
void |
act()
Do some action during this time step.
|
IXholon |
getNextBracket()
Get the next Bracket node (OpenBracket, ClosedBracket).
|
IXholon |
getNextCircleMarker()
Get the next CircleMarker node (CM_nn, etc.).
|
IXholon |
getNextClosedBracket()
Get the next ClosedBracket node.
|
IXholon |
getNextClosedEllipse()
Get the next ClosedEllipse node.
|
IXholon |
getNextFourLetterCode()
Get the next FourLetterCode node.
|
IXholon |
getNextGender()
Get the next gender node (GenderM, GenderF, GenderMS, GenderFS, GenderMP, GenderFP).
|
IXholon |
getNextLemma()
Get the next Lemma node.
|
IXholon |
getNextOpenBracket()
Get the next OpenBracket node.
|
IXholon |
getNextOpenEllipse()
Get the next OpenEllipse node.
|
IXholon |
getPreviousBracket()
Get the previous Bracket node (OpenBracket, ClosedBracket).
|
IXholon |
getPreviousCircleMarker()
Get the previous CircleMarker node (CM_nn, etc.).
|
IXholon |
getPreviousClosedBracket()
Get the previous ClosedBracket node.
|
IXholon |
getPreviousClosedEllipse()
Get the previous ClosedEllipse node.
|
IXholon |
getPreviousFourLetterCode()
Get the previous FourLetterCode node.
|
IXholon |
getPreviousGender()
Get the previous gender node (GenderM, GenderF, GenderMS, GenderFS, GenderMP, GenderFP).
|
IXholon |
getPreviousLemma()
Get the previous Lemma node.
|
IXholon |
getPreviousOpenBracket()
Get the previous OpenBracket node.
|
IXholon |
getPreviousOpenEllipse()
Get the previous OpenEllipse node.
|
java.lang.String |
getRoleName()
Get name of the role played by this Xholon within a specific context.
|
int |
getVal_int()
Get the value of a "int" maintained by this xholon instance.
|
java.lang.String |
getVal_String()
Get the value of a "String" maintained by this xholon instance.
|
void |
initialize()
Initialize the tree node.
|
boolean |
isClosedEllipse()
Is it a closed ellipse node ")" ?
|
boolean |
isOpenEllipse()
Is it an open ellipse node "(" ?
|
void |
postConfigure()
Perform some action, typically once at start up; MAY be overridden.
|
void |
processReceivedMessage(IMessage msg)
Process a received message taken from the message queue.
|
void |
setRoleName(java.lang.String roleName)
Set name of the role played by this Xholon within a specific context.
|
void |
setVal(int val)
Set the value of a "int" maintained by this xholon instance.
|
void |
setVal(java.lang.String val)
Set the value of a "String" maintained by this xholon instance.
|
java.lang.String |
toString()
Search for instances of Xholon with ports that reference this instance.
|
configure, configurePorts, getPort, getPort, isActiveObject, isBound, isContainer, isPassiveObject, setPort, setPort, setPorts, terminate
actNr, appendChild, appendChild, appendChild, appendsOwnChildren, bindPorts, cleanup, compareTo, configure, consoleLog, decVal, decVal, depth, doAction, equals, findFirstChildWithXhClass, findFirstChildWithXhClass, forwardMessage, forwardSyncMessage, getActionList, 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, getPreviousSibling, getRootNode, getSelfAndSiblings, getSelfAndSiblingsIndex, getService, getSiblings, getSystemMsgQ, getUid, getUri, getVal_boolean, getVal_byte, getVal_char, getVal_double, getVal_float, getVal_long, getVal_Object, getVal_short, getVal, getXhc, getXhcId, getXhcName, getXholon2Xml, getXhType, getXml2Xholon, getXPath, handleNodeSelection, handleNodeSelection, hasAncestor, hasAnnotation, hasAttributeXh, hasChildNodes, hasChildOrSiblingNodes, hasNextSibling, hasParentNode, hasSiblingNodes, height, incVal, incVal, initStatics, inOrderPrint, insertAfter, insertAfter, insertAfter, insertBefore, insertBefore, insertBefore, insertFirstChild, isAttributeHandler, isExternal, isInternal, isLeaf, isRootNode, isUniqueSibling, isUniqueSiblingRoleName, performActivity, performActivity, performBooleanActivity, performBooleanActivity, performDoubleActivity, performGuard, performVoidActivity, postAct, postOrderPrint, postReconfigure, preAct, preConfigure, preOrderPrint, preReconfigure, print, println, processMessageQ, 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, 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, setXhc, showAnnotation, swapNode, toXml, toXmlAttribute, toXmlAttributes, toXmlText, treeSize, visit
public static final java.lang.String POS_NULL
public static final java.lang.String POS_N
public static final java.lang.String POS_V
public static final java.lang.String POS_A
public static final java.lang.String POS_P
public static final java.lang.String POS_Pron
public static final java.lang.String POS_Adv
public static final java.lang.String POS_Conj
public static final java.lang.String POS_D
public static final java.lang.String POS_Q
public static final java.lang.String POS_S
public static final int SamplePort
public static final int SIG_SAMPLE
public java.lang.String roleName
public IXholon getNextOpenEllipse()
public IXholon getPreviousOpenEllipse()
public IXholon getNextClosedEllipse()
public IXholon getPreviousClosedEllipse()
public boolean isOpenEllipse()
public boolean isClosedEllipse()
public IXholon getNextGender()
public IXholon getPreviousGender()
public IXholon getNextLemma()
public IXholon getPreviousLemma()
public IXholon getNextCircleMarker()
public IXholon getPreviousCircleMarker()
public IXholon getNextBracket()
public IXholon getPreviousBracket()
public IXholon getNextOpenBracket()
public IXholon getPreviousOpenBracket()
public IXholon getNextClosedBracket()
public IXholon getPreviousClosedBracket()
public IXholon getNextFourLetterCode()
public IXholon getPreviousFourLetterCode()
public void setRoleName(java.lang.String roleName)
IXholon
setRoleName
in interface IXholon
setRoleName
in class Xholon
roleName
- An optional name that identifies the role.public java.lang.String getRoleName()
IXholon
getRoleName
in interface IXholon
getRoleName
in class Xholon
public void setVal(int val)
IXholon
public int getVal_int()
IXholon
getVal_int
in interface IXholon
getVal_int
in class Xholon
public void setVal(java.lang.String val)
IXholon
public java.lang.String getVal_String()
IXholon
getVal_String
in interface IXholon
getVal_String
in class Xholon
public void initialize()
IXholon
initialize
in interface IXholon
initialize
in class XholonWithPorts
public void postConfigure()
IXholon
postConfigure
in interface IXholon
postConfigure
in class XholonWithPorts
public void act()
IXholon
public void processReceivedMessage(IMessage msg)
IXholon
processReceivedMessage
in interface IXholon
processReceivedMessage
in class Xholon
msg
- The message that was received.public java.lang.String toString()
XholonWithPorts
toString
in class XholonWithPorts