public abstract class AbstractFactory<T> extends Object implements Factory<T>
Modifier and Type | Class and Description |
---|---|
static class |
AbstractFactory.ListFactory |
static class |
AbstractFactory.MapFactory |
Modifier | Constructor and Description |
---|---|
protected |
AbstractFactory(T source) |
Modifier and Type | Method and Description |
---|---|
protected Object |
convertBoolean(Boolean source) |
protected abstract Object |
convertFunction(Function<?> source) |
protected Object |
convertList(List<Object> source) |
protected Object |
convertMap(Map<String,Object> source) |
protected Object |
convertNull()
Gets the
null object representation. |
protected Object |
convertNumber(Number source) |
protected Object |
convertObject(Object source) |
protected Object |
convertString(String source) |
abstract Parameter |
getParameter() |
protected abstract Factory<List<Object>> |
newListFactory(List<Object> source) |
protected abstract Factory<Map<String,Object>> |
newMapFactory(Map<String,Object> source) |
protected Object |
process(Object source) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
newInstance
protected final T source
protected AbstractFactory(T source)
public abstract Parameter getParameter()
protected Object convertNull()
null
object representation.
If the null
object has special representation in the script scope
this method returns with that object.null
or representation of null
object.protected abstract Factory<Map<String,Object>> newMapFactory(Map<String,Object> source)
Copyright © 2025 Open Identity Platform Community. All rights reserved.