Modifier and Type | Class and Description |
---|---|
class |
DefaultJpc |
Modifier and Type | Method and Description |
---|---|
Jpc |
JpcBuilder.build() |
static Jpc |
Jpc.getDefault() |
Modifier and Type | Method and Description |
---|---|
static void |
Jpc.setDefault(Jpc jpc) |
Modifier and Type | Method and Description |
---|---|
<T> T |
JpcConverterManager.fromTerm(Object key,
Term term,
Type targetType,
Jpc jpc) |
<T> T |
JpcConverterManager.fromTerm(Term term,
Type targetType,
Jpc jpc) |
U |
FromTermConverter.fromTerm(T term,
Type targetType,
Jpc context) |
<T extends Term> |
JpcConverterManager.toTerm(Object object,
Class<T> termClass,
Jpc jpc) |
T |
ToTermConverter.toTerm(U object,
Class<T> termClass,
Jpc context) |
Modifier and Type | Method and Description |
---|---|
Jpc |
JpcContextConverter.fromTerm(Compound term,
Type targetType,
Jpc context) |
Modifier and Type | Method and Description |
---|---|
T |
VarConverter.fromTerm(AbstractVar term,
Type type,
Jpc context) |
T |
TypedTermToObjectConverter.fromTerm(Compound term,
Type targetType,
Jpc jpc) |
T |
TermSpecifierConverter.fromTerm(Compound term,
Type targetType,
Jpc jpc) |
T |
SequenceConverter.fromTerm(Compound term,
Type targetType,
Jpc jpc) |
Jpc |
JpcContextConverter.fromTerm(Compound term,
Type targetType,
Jpc context) |
T |
CustomTermToObjectConverter.fromTerm(Compound term,
Type targetType,
Jpc jpc) |
T |
JRefToObjectConverter.fromTerm(JRef<T> term,
Type targetType,
Jpc context) |
T |
TermConvertableConverter.toTerm(TermConvertable<?> object,
Class<T> termClass,
Jpc context) |
Modifier and Type | Method and Description |
---|---|
T |
CalendarToAtomConverter.fromTerm(Atom term,
Type targetType,
Jpc context) |
XMLGregorianCalendar |
XMLGregorianCalendarConverter.fromTerm(T term,
Type targetType,
Jpc context) |
T |
CalendarToNumberTermConverter.fromTerm(U term,
Type targetType,
Jpc context) |
Atom |
CalendarToAtomConverter.toTerm(T calendar,
Class<Atom> termClass,
Jpc context) |
U |
CalendarToNumberTermConverter.toTerm(T calendar,
Class<U> termClass,
Jpc context) |
T |
XMLGregorianCalendarConverter.toTerm(XMLGregorianCalendar calendar,
Class<T> termClass,
Jpc context) |
Modifier and Type | Method and Description |
---|---|
UnknownIsoPrologError |
UnknownIsoPrologErrorConverter.fromTerm(Compound term,
Type type,
Jpc context) |
TypeError |
TypeErrorConverter.fromTerm(Compound term,
Type type,
Jpc context) |
SystemError |
SystemErrorConverter.fromTerm(Compound term,
Type type,
Jpc context) |
SyntaxError |
SyntaxErrorConverter.fromTerm(Compound term,
Type type,
Jpc context) |
ResourceError |
ResourceErrorConverter.fromTerm(Compound term,
Type type,
Jpc context) |
RepresentationError |
RepresentationErrorConverter.fromTerm(Compound term,
Type type,
Jpc context) |
PermissionError |
PermissionErrorConverter.fromTerm(Compound term,
Type type,
Jpc context) |
IsoPrologError |
IsoPrologErrorConverter.fromTerm(Compound term,
Type type,
Jpc context) |
InstantiationError |
InstantiationErrorConverter.fromTerm(Compound term,
Type type,
Jpc context) |
ExistenceError |
ExistenceErrorConverter.fromTerm(Compound term,
Type type,
Jpc context) |
EvaluationError |
EvaluationErrorConverter.fromTerm(Compound term,
Type type,
Jpc context) |
DomainError |
DomainErrorConverter.fromTerm(Compound term,
Type type,
Jpc context) |
PrologError |
PrologErrorConverter.fromTerm(Term term,
Type type,
Jpc context) |
Compound |
StackTraceElementConverter.toTerm(StackTraceElement stk,
Class<Compound> termClass,
Jpc jpc) |
Compound |
ThrowableConverter.toTerm(Throwable ex,
Class<Compound> termClass,
Jpc jpc) |
Modifier and Type | Method and Description |
---|---|
File |
FileConverter.fromTerm(Compound compound,
Type targetType,
Jpc jpc) |
Compound |
FileConverter.toTerm(File file,
Class<Compound> termClass,
Jpc jpc) |
Modifier and Type | Method and Description |
---|---|
T |
CollectionConverter.fromTerm(Term listTerm,
Type type,
Jpc context) |
T[] |
ArrayConverter.fromTerm(Term listTerm,
Type targetType,
Jpc context) |
Iterator<?> |
IteratorConverter.fromTerm(T listTerm,
Type targetType,
Jpc context) |
Iterable<?> |
IterableConverter.fromTerm(T listTerm,
Type targetType,
Jpc context) |
Enumeration<?> |
EnumerationConverter.fromTerm(T listTerm,
Type type,
Jpc context) |
T |
EnumerationConverter.toTerm(Enumeration<?> en,
Class<T> termClass,
Jpc context) |
T |
IterableConverter.toTerm(Iterable<?> it,
Class<T> termClass,
Jpc context) |
T |
IteratorConverter.toTerm(Iterator<?> it,
Class<T> termClass,
Jpc context) |
U |
ArrayConverter.toTerm(T[] objects,
Class<U> termClass,
Jpc context) |
Modifier and Type | Method and Description |
---|---|
Map.Entry<K,V> |
MapEntryConverter.TermToMapEntryConverter.fromTerm(Compound term,
Type type,
Jpc context) |
U |
MapConverter.TermToMapConverter.fromTerm(T listTerm,
Type type,
Jpc context) |
Compound |
MapEntryConverter.MapEntryToTermConverter.toTerm(Map.Entry<K,V> entry,
Class<Compound> termClass,
Jpc context) |
U |
MapConverter.MapToTermConverter.toTerm(T map,
Class<U> termClass,
Jpc context) |
Modifier and Type | Method and Description |
---|---|
URI |
URIConverter.fromTerm(Compound compound,
Type targetType,
Jpc context) |
Compound |
URIConverter.toTerm(URI uri,
Class<Compound> termClass,
Jpc context) |
Modifier and Type | Method and Description |
---|---|
T |
ObjectToAtomConverter.fromTerm(Atom term,
Type targetType,
Jpc context) |
Boolean |
BooleanConverter.fromTerm(Atom atom,
Type type,
Jpc context) |
String |
StringToNumberTermConverter.fromTerm(T term,
Type targetType,
Jpc context) |
Character |
CharacterToNumberTermConverter.fromTerm(T term,
Type targetType,
Jpc context) |
T |
NumberToNumberTermConverter.fromTerm(U term,
Type targetType,
Jpc context) |
Atom |
BooleanConverter.toTerm(Boolean bool,
Class<Atom> termClass,
Jpc context) |
T |
CharacterToNumberTermConverter.toTerm(Character character,
Class<T> termClass,
Jpc context) |
T |
StringToNumberTermConverter.toTerm(String source,
Class<T> termClass,
Jpc context) |
Atom |
ObjectToAtomConverter.toTerm(T object,
Class<Atom> termClass,
Jpc context) |
U |
NumberToNumberTermConverter.toTerm(T number,
Class<U> termClass,
Jpc context) |
Modifier and Type | Method and Description |
---|---|
org.minitoolbox.reflection.ReflectiveObject |
ReflectiveObjectConverter.fromTerm(Compound term,
Type targetType,
Jpc jpc) |
org.minitoolbox.reflection.ReflectiveClass<?> |
ReflectiveClassConverter.fromTerm(Compound term,
Type targetType,
Jpc jpc) |
org.minitoolbox.reflection.ReflectiveClass<?> |
ReflectiveClassConverter.ShortNotationReflectiveClassConverter.fromTerm(Compound term,
Type targetType,
Jpc jpc) |
T |
MethodCallConverter.fromTerm(Compound term,
Type targetType,
Jpc jpc) |
T |
ConstructorCallConverter.fromTerm(Compound term,
Type targetType,
Jpc jpc) |
Compound |
ReflectiveClassConverter.toTerm(org.minitoolbox.reflection.ReflectiveClass<?> staticClass,
Class<Compound> termClass,
Jpc jpc) |
Compound |
ReflectiveObjectConverter.toTerm(org.minitoolbox.reflection.ReflectiveObject reflectiveObject,
Class<Compound> termClass,
Jpc jpc) |
Modifier and Type | Method and Description |
---|---|
WildcardType |
WildcardTypeToTermConverter.fromTerm(Compound term,
Type targetType,
Jpc jpc) |
TypeVariable<? extends GenericDeclaration> |
TypeVariableToTermConverter.fromTerm(Compound term,
Type targetType,
Jpc jpc) |
T |
TermToArrayTypeConverter.fromTerm(Compound term,
Type targetType,
Jpc jpc) |
ParameterizedType |
ParameterizedTypeConverter.fromTerm(Compound term,
Type targetType,
Jpc jpc) |
Class<?> |
ClassConverter.fromTerm(Compound term,
Type targetType,
Jpc jpc) |
Class<?> |
ClassConverter.ShortNotationClassConverter.fromTerm(Compound term,
Type targetType,
Jpc jpc) |
static Class<?> |
ClassConverter.getRawClass(Compound term,
Jpc jpc) |
Compound |
ClassConverter.toTerm(Class<?> clazz,
Class<Compound> termClass,
Jpc jpc) |
Compound |
GenericArrayTypeToTermConverter.toTerm(GenericArrayType type,
Class<Compound> termClass,
Jpc jpc) |
Compound |
ParameterizedTypeConverter.toTerm(ParameterizedType type,
Class<Compound> termClass,
Jpc jpc) |
Compound |
TypeVariableToTermConverter.toTerm(TypeVariable<? extends GenericDeclaration> type,
Class<Compound> termClass,
Jpc jpc) |
Compound |
WildcardTypeToTermConverter.toTerm(WildcardType type,
Class<Compound> termClass,
Jpc jpc) |
Modifier and Type | Method and Description |
---|---|
RefTermType |
TermToRefTermTypeConverter.fromTerm(Compound term,
Type targetType,
Jpc context) |
T |
FromRefTermConverter.fromTerm(Compound term,
Type type,
Jpc context) |
Compound |
ToRefTermConverter.toTerm(T object,
Class<Compound> termClass,
Jpc context) |
Modifier and Type | Method and Description |
---|---|
T |
FromSerializedConverter.fromTerm(Compound term,
Type type,
Jpc context) |
Compound |
ToSerializedConverter.toTerm(Serializable object,
Class<Compound> termClass,
Jpc context) |
Modifier and Type | Method and Description |
---|---|
Term |
JpcEngine.asTerm(String termString,
Jpc context) |
Query |
JpcEngine.basicQuery(Term goal,
boolean errorHandledQuery,
Jpc context) |
Constructor and Description |
---|
JpcQuery(JpcEngine prologEngine,
Term goal,
boolean errorHandledQuery,
Jpc context) |
Constructor and Description |
---|
LogtalkObject(Object object,
PrologEngine prologEngine,
Jpc context) |
Modifier and Type | Method and Description |
---|---|
Term |
PrologEngineProxy.asTerm(String termString,
Jpc context) |
Term |
PrologEngine.asTerm(String termString,
Jpc context) |
List<Term> |
PrologEngine.asTerms(List<String> termsString,
Jpc context) |
List<Term> |
AbstractPrologEngine.asTerms(List<String> termsString,
Jpc context) |
Query |
PrologEngineProxy.basicQuery(Term term,
boolean errorHandledQuery,
Jpc context) |
Query |
PrologEngine.basicQuery(Term term,
boolean errorHandledQuery,
Jpc context) |
boolean |
PrologEngine.command(String command,
Jpc context) |
boolean |
AbstractPrologEngine.command(String command,
Jpc context) |
boolean |
PrologEngine.command(String command,
List<?> arguments,
Jpc context) |
boolean |
AbstractPrologEngine.command(String command,
List<?> arguments,
Jpc context) |
Query |
PrologEngine.query(String goalString,
Jpc context) |
Query |
AbstractPrologEngine.query(String goalString,
Jpc context) |
Query |
PrologEngine.query(String goalString,
List<?> arguments,
boolean errorHandledQuery,
Jpc context) |
Query |
AbstractPrologEngine.query(String goalString,
List<?> arguments,
boolean errorHandledQuery,
Jpc context) |
Query |
PrologEngine.query(String goalString,
List<?> arguments,
Jpc context) |
Query |
AbstractPrologEngine.query(String goalString,
List<?> arguments,
Jpc context) |
Query |
PrologEngine.query(Term goal,
Jpc context) |
Query |
AbstractPrologEngine.query(Term goal,
Jpc context) |
Query |
PrologEngine.query(Term goal,
List<?> arguments,
boolean errorHandledQuery,
Jpc context) |
Query |
AbstractPrologEngine.query(Term goal,
List<?> arguments,
boolean errorHandledQuery,
Jpc context) |
Modifier and Type | Method and Description |
---|---|
boolean |
JpcConverterErrorHandler.handle(Term errorTerm,
Term goal,
Jpc context) |
boolean |
ErrorHandlerManager.handle(Term errorTerm,
Term goal,
Jpc context) |
boolean |
ErrorHandler.handle(Term errorTerm,
Term goal,
Jpc context) |
boolean |
DefaultJpcErrorHandler.handle(Term errorTerm,
Term goal,
Jpc context) |
Modifier and Type | Method and Description |
---|---|
Jpc |
QueryAdapter.getJpcContext() |
abstract Jpc |
Query.getJpcContext() |
Jpc |
PrologQuery.getJpcContext() |
Constructor and Description |
---|
DeterministicPrologQuery(PrologEngine prologEngine,
Term goal,
boolean errorHandledQuery,
Jpc context) |
PrologQuery(PrologEngine prologEngine,
Term goal,
boolean errorHandledQuery,
Jpc context) |
Solution(Map<String,Term> rawSolution,
PrologEngine prologEngine,
Jpc context) |
TermToObjectFunction(Jpc context) |
TermToObjectFunction(Jpc context,
Type targetType) |
Modifier and Type | Method and Description |
---|---|
Jpc |
ParameterizedSymbolExpander.getContext() |
Constructor and Description |
---|
DictionarySymbolExpander(Map<String,?> map,
Jpc context) |
ParameterizedSymbolExpander(Jpc context) |
PositionalSymbolExpander(List<?> parameters,
Jpc context) |
Modifier and Type | Method and Description |
---|---|
Term |
RefTermType.toTerm(Object ref,
Jpc jpc) |
Modifier and Type | Method and Description |
---|---|
Jpc |
PrologSpeakingObject.getJpcContext() |
Modifier and Type | Method and Description |
---|---|
static <T> Map<String,T> |
ConversionUtil.toObjectMap(Map<String,Term> termMap,
Jpc jpc) |
static <T> List<Map<String,T>> |
ConversionUtil.toObjectMapList(List<? extends Map<String,Term>> termMapList,
Jpc jpc) |
Constructor and Description |
---|
PrologSpeakingClass(Class<T> wrappedClass,
Jpc jpc) |
PrologSpeakingObject(Object object,
Jpc jpc) |
PrologSpeakingObject(org.minitoolbox.reflection.ReflectiveObject reflectiveObject,
Jpc jpc) |
Copyright © 2014. All rights reserved.