public abstract class Jpc
extends org.jconverter.JConverter
Constructor and Description |
---|
Jpc(JpcConverterManager converterManager,
org.jconverter.factory.FactoryManager factoryManager) |
Modifier and Type | Method and Description |
---|---|
abstract void |
forgetRef(Object ref) |
abstract void |
forgetRefTerm(Compound term) |
abstract <T> T |
fromTerm(Term term) |
abstract <T> T |
fromTerm(Term term,
Type type) |
static Jpc |
getDefault() |
abstract RefTermManager |
getRefTermManager() |
abstract boolean |
handleError(Term errorTerm,
Term goal) |
abstract Type |
inferType(Object object) |
abstract ListTerm |
listTerm(List<?> objects) |
abstract ListTerm |
listTerm(Object... objects) |
abstract Compound |
newRefTerm(Object ref) |
abstract Compound |
newRefTerm(Object ref,
Compound compound) |
abstract Compound |
newSoftRefTerm(Object ref) |
abstract Compound |
newSoftRefTerm(Object ref,
Compound compound) |
abstract Compound |
newWeakRefTerm(Object ref) |
abstract Compound |
newWeakRefTerm(Object ref,
Compound compound) |
abstract Compound |
refTerm(Object o) |
abstract <T> T |
resolveRefTerm(Compound compound) |
static void |
setDefault(Jpc jpc) |
abstract Compound |
toCompound(Object name,
List<?> args) |
abstract <T extends Term> |
toTerm(Object object) |
abstract <T extends Term> |
toTerm(Object object,
Class<T> termClass) |
public Jpc(JpcConverterManager converterManager, org.jconverter.factory.FactoryManager factoryManager)
public static Jpc getDefault()
public static void setDefault(Jpc jpc)
public abstract <T> T fromTerm(Term term)
public abstract Type inferType(Object object)
object
- the object which conversion target type to infer.public abstract RefTermManager getRefTermManager()
public abstract void forgetRefTerm(Compound term)
public abstract void forgetRef(Object ref)
public abstract <T> T resolveRefTerm(Compound compound)
Copyright © 2014. All rights reserved.