edu.isi.powerloom.server
Class PLString

java.lang.Object
  extended by edu.isi.stella.Stella_Object
      extended by edu.isi.stella.StandardObject
          extended by edu.isi.webservices.xml_objects.XMLObject
              extended by edu.isi.powerloom.server.PLString

public class PLString
extends edu.isi.webservices.xml_objects.XMLObject


Field Summary
 java.lang.String Value
           
 
Fields inherited from class edu.isi.webservices.xml_objects.XMLObject
cdataContent, textContent
 
Constructor Summary
PLString()
           
 
Method Summary
static Stella_Object access_PLString_Slot_Value(PLString self, Symbol slotname, Stella_Object value, boolean setvalueP)
           
static PLString new_PLString()
           
 Surrogate primaryType()
          Returns the primary type of self.
static PLString serverDestroyObject(PLString modulename, PLString objectname)
          Destroy an object
static PLString serverEvaluateLogicCommand(PLString modulename, PLString commandstring)
          Evaluate 'commandString' and return the result
static PLConceptContainer serverGetConcept(PLString modulename, PLString conceptname)
           
static PLConceptContainer serverGetConceptCompletions(PLString plmodule, PLString prefix)
          Get all the concepts in a module and included/used modules that begin with 'prefix'
static PLConceptContainer serverGetConceptsForModule(PLString plstring)
          Get all the concepts in a module, structured hierarchically
static PLDirectoryContents serverGetDefaultDirectoryListing(PLString extensionfilter)
          Return the files and directories in the directory designated by '*DEFAULT-KB-DIRECTORY*'.
static PLInstanceContainer serverGetDirectInstancesForConcept(PLString modulename, PLString conceptname)
          Get all the instances for a given module+concept
static PLDirectoryContents serverGetDirectoryListing(PLString currentdirectory, PLString extensionfilter)
          Return the files and directories in 'currentDirectory'.
static PLString serverGetDocumentationForConcept(PLString modulename, PLString conceptname)
          Get the documentation string for module+concept
static PLString serverGetDocumentationForInstance(PLString modulename, PLString instancename)
          Get the documentation string for module+instance.
static PLString serverGetDocumentationForRelation(PLString modulename, PLString relationname)
          Get the documentation string for module+relation
static PLQueryResult serverGetExtensionForRelation(PLString modulename, PLString relationname)
          Get the extension for a relation
static PLSurrogateCollection serverGetIncludesForModule(PLString modulename)
          Get the includes for module
static PLRelationContainer serverGetInheritedRelationsForConcept(PLString modulename, PLString conceptname)
          Get all the relations which have 'conceptName' as a subtype of their domain
static PLInstanceContainer serverGetInstance(PLString modulename, PLString instancename)
           
static PLInstanceContainer serverGetInstanceCompletions(PLString plmodule, PLString prefix)
          Get all the instances begining with 'prefix' in all modules accessible from 'plModule'.
static PLInstanceContainer serverGetInstancesForConcept(PLString modulename, PLString conceptname)
          Get all the instances for a given module+concept
static PLInstanceContainer serverGetInstancesForModule(PLString plstring)
          Get all the instances in a module, excluding skolems
static PLPropositionContainer serverGetPropositionsForConcept(PLString modulename, PLString instancename)
          Get all the propositions for a given concept
static PLPropositionContainer serverGetPropositionsForInstance(PLString modulename, PLString instancename)
          Get all the propositions for a given instance
static PLPropositionContainer serverGetPropositionsForInstanceAndRelation(PLString modulename, PLString instancename, PLString relationname)
          Get all the propositions for a given instance and relation
static PLPropositionContainer serverGetPropositionsForModule(PLString modulename)
          Get all the propositions for a given module
static PLPropositionContainer serverGetPropositionsForRelation(PLString modulename, PLString instancename)
          Get all the propositions for a given relation
static PLRelationContainer serverGetRelation(PLString modulename, PLString relationname)
           
static PLRelationContainer serverGetRelationCompletions(PLString plmodule, PLString prefix)
          Get all the relations in a module and included/used modules that begin with 'prefix'
static PLRelationContainer serverGetRelationsForConcept(PLString modulename, PLString conceptname)
          Get all the direct relations which have 'conceptName' as their domain
static PLRelationContainer serverGetRelationsForModule(PLString plstring)
          Get all the relations in a module, structured hierarchically
static PLPropositionContainer serverGetRulesForConcept(PLString modulename, PLString instancename)
          Get all the rules for a given concept
static PLPropositionContainer serverGetRulesForRelation(PLString modulename, PLString instancename)
          Get all the rules for a given relation
static PLSurrogateCollection serverGetShadowedSurrogatesForModule(PLString modulename)
          Get the uses for module
static PLString serverGetSourceForConcept(PLString modulename, PLString conceptname)
          Get the source string for module+concept
static PLSurrogateCollection serverGetSuperconceptsForConcept(PLString modulename, PLString conceptname)
          Get the superconcepts for module+concept
static PLSurrogateCollection serverGetSuperrelationsForRelation(PLString modulename, PLString relationname)
          Get the superrelations for module+relation
static PLSurrogateCollection serverGetTypesForInstance(PLString modulename, PLString instancename)
          Get all the types of an instance.
static PLSurrogateCollection serverGetUsesForModule(PLString modulename)
          Get the uses for module
static PLVariableList serverGetVariablesForRelation(PLString modulename, PLString relationname)
          Get the superrelations for module+relation
static PLString serverLoadKb(PLString plkbname)
           
static PLString serverSaveKb(PLString plmodulename, PLString plkbname, PLString pldescription)
           
static PLFile serverSaveKb2(PLString plmodulename, PLString plfilename)
           
 
Methods inherited from class edu.isi.webservices.xml_objects.XMLObject
access_XMLObject_Slot_Value, FIRST_PARENT_FOR_MULTIREF_NODEP, GET_ATTRIBUTE_VALUE_NAMESPACE_NAME, GET_CHILDREN, GET_CONTENT, GET_ELEMENT_NAME_FROM_OBJECT, GET_MAPPED_SLOTS, GET_NAMESPACE_PREFIX, GET_NODE_ID, GET_OBJECT_SLOT_VALUE, HELP_POPULATE_NODE_PARENTS_TABLE, HELP_SIMULATE_MULTIREF_OUTPUT, INSERT_NODE_ID_PARENTS_TABLE, INSERT_NODE_PARENTS_TABLE, LOOKUP_ATTRIBUTE_SLOT, LOOKUP_COLLECTION_SLOT, LOOKUP_CONTENT_SLOT, LOOKUP_ELEMENT_SLOT, MAKE_COLLECTION, MAKE_CONTENT_EXPRESSION, MAKE_ELEMENT_TAG, MAKE_ELEMENT, MAKE_REVERSED_ATTRIBUTE, NTH_PARENT_FOR_MULTIREF_NODEP, POPULATE_NODE_PARENTS_TABLE, printObject, SET_ATTRIBUTES, SET_COLLECTION_SLOT_VALUE, SET_COLLECTIONS, SET_CONTENT, SET_ELEMENTS, SET_OBJECT_SLOT_VALUE, SIMULATE_MULTIREF_OUTPUT, SLOT_VALUE_IS_NULL_OR_EMPTYP, SLOT_VALUE_IS_NULLP, TO_XML_STREAM, TO_XML_STRING, TO_XML
 
Methods inherited from class edu.isi.stella.StandardObject
arrayTypeSpecifierP, baseTypeToTypeSpec, cantOverwriteActiveCollectionSlot, compatibleParameterTypesP, computeAnchoredTypeSpec, computeRelativeTypeSpec, conformingTypeSpecP, copyWrappedLiteral, cppReferenceTypeP, cppReferencizeType, cppTranslateAndPointerizeTypeSpec, cppTranslateAndReferencizeTypeSpec, cppTranslateTypeSpec, dropSlotValue, extractParameterType, extractRequiredArgumentValues, getSlot, hashCode_, idlTranslateTypeSpec, inverseSlotDemon, javaLiteralP, javaNativeLiteralWrapperNames, javaSpecialSetterName, javaTranslateArrayOfTypeSpec, javaTranslateTypeSpec, javaTranslateTypeSpecForFunction, javaTranslateTypeSpecHelper, javaYieldClassObjectArrayExpression, javaYieldClassObjectExpression, javaYieldFullyQualifiedTypeName, javaYieldTranslatedClassAndMethodNames, listifyTypeSpec, lookupClTypeFromStellaType, objectEqlP, putSlotValue, readSlotValue, runConstructorDemons, runDestructorDemons, runSlotDemons, runSlotGuardDemonsP, standardObjectP, subTypeSpecOfP, twoArgumentLeastCommonSupertype, typeSpecToBaseType, typeSpecToClass, typeToWalkedNullValueTree, validateTypeSpecifier, voidP, walkTypeSpecIsNativeTypeP, writeSlotValue, yieldTypeSpecTree
 
Methods inherited from class edu.isi.stella.Stella_Object
_, accessInContext, amPm, anchoredTypeSpecifierP, andOrNotTreeP, applyCoercionMethod, atomicExpressionP, bindToSurrogateP, booleanP, bootstrapIsaP, bquotify, cast, characterP, clTranslateAtomicTree, clTranslateATree, clTranslateBooleanTest, clTranslatePlainBooleanTest, clTranslateVerbatimBodySymbols, clYieldTypedExpressionTree, coerceATree, coerceEvaluatedTree, coerceMvTree, coerceToBoolean, coerceToModule, coerceToModuleName, coerceToSymbol, coerceToXmlElement, coercibleP, collectFeatureList, collectKeyValueList, commonLispSymbolP, computeExpressionType, cons, consify, consifyListsAndIterators, consP, consTreeMatchP, convertToLiteral, copyConsTree, cppArgumentIsStreamP, cppBinaryOperatorP, cppBlockP, cppMaybeOutputStatementWithParentheses, cppOperatorP, cppOutputAtomicExpression, cppOutputLiteral, cppOutputOneActualParameter, cppOutputStatement, cppOutputTypedEntity, cppPrognifyStatement, cppPrognP, cppStatementToList, cppStreamIsStandardOutputP, cpptrans, cppTranslateAtomicTree, cppTranslateATree, cppTranslatedArrayTypeP, csValueP, dateDivider, dateTimeDivider, day, dealWithAmPm, dealWithEra, dealWithNoonMidn, decrementReferenceCount, defaultOptionHandler, defineSystem, defmodule, deletedP, describe, describeObject, describeTersely, destructureMethodNameTree, deUglifyParseTree, either, eqlP, eqlToBooleanP, eqlToCharacterP, eqlToFloatP, eqlToIntegerP, eqlToStringP, equalConsTreesP, equalHashCode, equalP, era, estimatedEvaluationCost, evaluate, evaluateArgumentTree, evaluateAtomicTree, evaluateCommand, expandBquoteTree, filterModuleP, floatP, free, get, getObject, hashlist, hashMemoizedArguments, helpBquotify, helpClTranslateATree, helpCoerceATree, helpLptrans, helpPrintOutline, helpTransformBooleanProceduralExpression, helpWalkATree, homeModule, hour, idlOutputAtomicExpression, idlOutputLiteral, idlOutputStatement, idlTranslateAtomicTree, idlTranslateATree, illegalTreeP, implodePathname, incrementallyTranslate, incrementReferenceCount, inlineUnwrapBoolean, inlineWrapBoolean, inModule, integerP, isaP, javaBinaryOperatorP, javaBlockP, javaEndOfLineTokenP, javaHelpOutputPrintStream, javaMaybeOutputStatementWithParentheses, javaOperatorP, javaOutputLiteral, javaOutputStatement, javaPrognP, javaStreamIsStandardOutputP, javaSymbolCaseP, javaTranslateAtomicTree, javaTranslateATree, javaTranslateWithNativeWrapper, jptrans, keywordP, kvCons, legalTokenizerFromStateP, legalTokenizerStateP, legalTokenizerToStateP, literalEqlP, logLevelLE, lptrans, makeFileNameFromRelativePath, makeMemoizedValueEntry, makeMemoizedValueEntryn, matchConsTree, methodSlotP, minute, month, nameToString, nilP, noonMidn, numberWrapperToFloat, objectEqualP, objectHashCode, one, oneI, onlyIf, parametricTypeSpecifierP, parseArrayDimensionsSpec, parseTokenizerCharacterSpec, parseTokenizerStateModifiers, permanentCopy, permanentify, permanentifyForm, po, prettyPrintLiteral, primaryClass, printOutline, printStellaCode, printStellaDefinition, printUndefinedSuperClasses, proceduralExpressionP, ptrans, publicSlots, registerRecycledItem, runOptionHandlerP, safeEqualHashCode, safeHashCode, safePrimaryType, safeYieldTypeSpecifier, searchConsTreeP, searchConsTreeWithFilterP, searchForObject, secondp, sideEffectFreeExpressionP, simplifyBquoteTree, specialp, stella_Increment, stellaClassP, stellaCollectionP, stellaNeedToCompileP, stellaNeedToTranslateP, stellaObjectP, stellify, storageSlotP, stringifyInModule, stringP, substituteConsTree, substituteOnce, surrogateP, surrogatify, sweep, symbolCaseP, symbolP, sysTree, targetLanguageType, taxonomyIsaP, timeDivider, timeMultiply, tokenizerIncludeSpecP, tokenizerToStateAlias, tokenizerToStateName, toString, traceIf, traceKeywordP, transientifyForm, transientObjectP, transientSymbolP, translateWalkedTree, treeSize, treeToTrees, trueOptionP, tryToEvaluate, typeP, typify, unmake, unregisterRecycledItem, updateInContext, valuesTreeP, variableExpressionP, verbatimStringP, verbatimTreeP, vetOptions, vrletExpressionP, walkAtomicTree, walkATree, walkCollectionTree, walkDontCallMeTree, walkedExpressionType, walkExpressionTree, walkMvExpressionTree, walkMvTree, walkStatement, walkTopLevelExpression, walkWithoutTypeTree, warnAboutUnknownSourceType, weekday, withinContext, withinModule, withinWorld, withStellaTokenizer, withSystemDefinition, withTokenizer, wrapperP, wrapWhereTest, xmlAttributeP, xmlCdataFormP, xmlCdataP, xmlDeclarationFormP, xmlDeclarationP, xmlDoctypeFormP, xmlElementFormP, xmlElementP, xmlnsAttributeP, xmlProcessingInstructionFormP, xmlProcessingInstructionP, xmlTagCase, year, yieldCondTest, yieldCondTestOrTests, yieldHardcodedCaseSymbolIdOrIds, yieldInCursorClausesForArgumentList, yieldInCursorClausesForGeneralCollection, yieldInCursorClausesForVector, yieldTypeSpecifier, zone, zoneMinute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

Value

public java.lang.String Value
Constructor Detail

PLString

public PLString()
Method Detail

new_PLString

public static PLString new_PLString()

serverGetDefaultDirectoryListing

public static PLDirectoryContents serverGetDefaultDirectoryListing(PLString extensionfilter)
Return the files and directories in the directory designated by '*DEFAULT-KB-DIRECTORY*'.

Parameters:
extensionfilter -
Returns:
PLDirectoryContents

serverGetDirectoryListing

public static PLDirectoryContents serverGetDirectoryListing(PLString currentdirectory,
                                                            PLString extensionfilter)
Return the files and directories in 'currentDirectory'.

Parameters:
currentdirectory -
extensionfilter -
Returns:
PLDirectoryContents

serverGetInstance

public static PLInstanceContainer serverGetInstance(PLString modulename,
                                                    PLString instancename)

serverGetConcept

public static PLConceptContainer serverGetConcept(PLString modulename,
                                                  PLString conceptname)

serverGetRelation

public static PLRelationContainer serverGetRelation(PLString modulename,
                                                    PLString relationname)

serverDestroyObject

public static PLString serverDestroyObject(PLString modulename,
                                           PLString objectname)
Destroy an object

Parameters:
modulename -
objectname -
Returns:
PLString

serverGetExtensionForRelation

public static PLQueryResult serverGetExtensionForRelation(PLString modulename,
                                                          PLString relationname)
Get the extension for a relation

Parameters:
modulename -
relationname -
Returns:
PLQueryResult

serverSaveKb2

public static PLFile serverSaveKb2(PLString plmodulename,
                                   PLString plfilename)

serverSaveKb

public static PLString serverSaveKb(PLString plmodulename,
                                    PLString plkbname,
                                    PLString pldescription)

serverLoadKb

public static PLString serverLoadKb(PLString plkbname)

serverEvaluateLogicCommand

public static PLString serverEvaluateLogicCommand(PLString modulename,
                                                  PLString commandstring)
Evaluate 'commandString' and return the result

Parameters:
modulename -
commandstring -
Returns:
PLString

serverGetPropositionsForInstanceAndRelation

public static PLPropositionContainer serverGetPropositionsForInstanceAndRelation(PLString modulename,
                                                                                 PLString instancename,
                                                                                 PLString relationname)
Get all the propositions for a given instance and relation

Parameters:
modulename -
instancename -
relationname -
Returns:
PLPropositionContainer

serverGetRulesForRelation

public static PLPropositionContainer serverGetRulesForRelation(PLString modulename,
                                                               PLString instancename)
Get all the rules for a given relation

Parameters:
modulename -
instancename -
Returns:
PLPropositionContainer

serverGetRulesForConcept

public static PLPropositionContainer serverGetRulesForConcept(PLString modulename,
                                                              PLString instancename)
Get all the rules for a given concept

Parameters:
modulename -
instancename -
Returns:
PLPropositionContainer

serverGetPropositionsForRelation

public static PLPropositionContainer serverGetPropositionsForRelation(PLString modulename,
                                                                      PLString instancename)
Get all the propositions for a given relation

Parameters:
modulename -
instancename -
Returns:
PLPropositionContainer

serverGetPropositionsForConcept

public static PLPropositionContainer serverGetPropositionsForConcept(PLString modulename,
                                                                     PLString instancename)
Get all the propositions for a given concept

Parameters:
modulename -
instancename -
Returns:
PLPropositionContainer

serverGetDocumentationForInstance

public static PLString serverGetDocumentationForInstance(PLString modulename,
                                                         PLString instancename)
Get the documentation string for module+instance.

Parameters:
modulename -
instancename -
Returns:
PLString

serverGetTypesForInstance

public static PLSurrogateCollection serverGetTypesForInstance(PLString modulename,
                                                              PLString instancename)
Get all the types of an instance.

Parameters:
modulename -
instancename -
Returns:
PLSurrogateCollection

serverGetPropositionsForInstance

public static PLPropositionContainer serverGetPropositionsForInstance(PLString modulename,
                                                                      PLString instancename)
Get all the propositions for a given instance

Parameters:
modulename -
instancename -
Returns:
PLPropositionContainer

serverGetInheritedRelationsForConcept

public static PLRelationContainer serverGetInheritedRelationsForConcept(PLString modulename,
                                                                        PLString conceptname)
Get all the relations which have 'conceptName' as a subtype of their domain

Parameters:
modulename -
conceptname -
Returns:
PLRelationContainer

serverGetRelationsForConcept

public static PLRelationContainer serverGetRelationsForConcept(PLString modulename,
                                                               PLString conceptname)
Get all the direct relations which have 'conceptName' as their domain

Parameters:
modulename -
conceptname -
Returns:
PLRelationContainer

serverGetPropositionsForModule

public static PLPropositionContainer serverGetPropositionsForModule(PLString modulename)
Get all the propositions for a given module

Parameters:
modulename -
Returns:
PLPropositionContainer

serverGetVariablesForRelation

public static PLVariableList serverGetVariablesForRelation(PLString modulename,
                                                           PLString relationname)
Get the superrelations for module+relation

Parameters:
modulename -
relationname -
Returns:
PLVariableList

serverGetShadowedSurrogatesForModule

public static PLSurrogateCollection serverGetShadowedSurrogatesForModule(PLString modulename)
Get the uses for module

Parameters:
modulename -
Returns:
PLSurrogateCollection

serverGetUsesForModule

public static PLSurrogateCollection serverGetUsesForModule(PLString modulename)
Get the uses for module

Parameters:
modulename -
Returns:
PLSurrogateCollection

serverGetIncludesForModule

public static PLSurrogateCollection serverGetIncludesForModule(PLString modulename)
Get the includes for module

Parameters:
modulename -
Returns:
PLSurrogateCollection

serverGetSuperrelationsForRelation

public static PLSurrogateCollection serverGetSuperrelationsForRelation(PLString modulename,
                                                                       PLString relationname)
Get the superrelations for module+relation

Parameters:
modulename -
relationname -
Returns:
PLSurrogateCollection

serverGetSuperconceptsForConcept

public static PLSurrogateCollection serverGetSuperconceptsForConcept(PLString modulename,
                                                                     PLString conceptname)
Get the superconcepts for module+concept

Parameters:
modulename -
conceptname -
Returns:
PLSurrogateCollection

serverGetDocumentationForRelation

public static PLString serverGetDocumentationForRelation(PLString modulename,
                                                         PLString relationname)
Get the documentation string for module+relation

Parameters:
modulename -
relationname -
Returns:
PLString

serverGetSourceForConcept

public static PLString serverGetSourceForConcept(PLString modulename,
                                                 PLString conceptname)
Get the source string for module+concept

Parameters:
modulename -
conceptname -
Returns:
PLString

serverGetDocumentationForConcept

public static PLString serverGetDocumentationForConcept(PLString modulename,
                                                        PLString conceptname)
Get the documentation string for module+concept

Parameters:
modulename -
conceptname -
Returns:
PLString

serverGetDirectInstancesForConcept

public static PLInstanceContainer serverGetDirectInstancesForConcept(PLString modulename,
                                                                     PLString conceptname)
Get all the instances for a given module+concept

Parameters:
modulename -
conceptname -
Returns:
PLInstanceContainer

serverGetInstancesForConcept

public static PLInstanceContainer serverGetInstancesForConcept(PLString modulename,
                                                               PLString conceptname)
Get all the instances for a given module+concept

Parameters:
modulename -
conceptname -
Returns:
PLInstanceContainer

serverGetRelationCompletions

public static PLRelationContainer serverGetRelationCompletions(PLString plmodule,
                                                               PLString prefix)
Get all the relations in a module and included/used modules that begin with 'prefix'

Parameters:
plmodule -
prefix -
Returns:
PLRelationContainer

serverGetRelationsForModule

public static PLRelationContainer serverGetRelationsForModule(PLString plstring)
Get all the relations in a module, structured hierarchically

Parameters:
plstring -
Returns:
PLRelationContainer

serverGetInstanceCompletions

public static PLInstanceContainer serverGetInstanceCompletions(PLString plmodule,
                                                               PLString prefix)
Get all the instances begining with 'prefix' in all modules accessible from 'plModule'.

Parameters:
plmodule -
prefix -
Returns:
PLInstanceContainer

serverGetInstancesForModule

public static PLInstanceContainer serverGetInstancesForModule(PLString plstring)
Get all the instances in a module, excluding skolems

Parameters:
plstring -
Returns:
PLInstanceContainer

serverGetConceptCompletions

public static PLConceptContainer serverGetConceptCompletions(PLString plmodule,
                                                             PLString prefix)
Get all the concepts in a module and included/used modules that begin with 'prefix'

Parameters:
plmodule -
prefix -
Returns:
PLConceptContainer

serverGetConceptsForModule

public static PLConceptContainer serverGetConceptsForModule(PLString plstring)
Get all the concepts in a module, structured hierarchically

Parameters:
plstring -
Returns:
PLConceptContainer

access_PLString_Slot_Value

public static Stella_Object access_PLString_Slot_Value(PLString self,
                                                       Symbol slotname,
                                                       Stella_Object value,
                                                       boolean setvalueP)

primaryType

public Surrogate primaryType()
Description copied from class: Stella_Object
Returns the primary type of self. Gets defined automatically for every non-abstract subclass of OBJECT.

Overrides:
primaryType in class Stella_Object
Returns:
Surrogate