|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.hp.hpl.jena.enhanced.Personality
Defines a set of permitted mappings from Type identifiers to Implementation
factories that can generate instances of the facet represented by the Type.
| Constructor Summary | |
Personality(Personality other)
initialise this personality with the bindings from _other_ |
|
| Method Summary | |
Personality |
add(java.lang.Class interf,
Implementation impl)
Add a new interface and its implementation to this Personality. |
Personality |
copy()
create a new Personality copying this one; the _types_ state is copied, not shared. |
Polymorphic |
newInstance(java.lang.Class interf,
Node n,
Polymorphic that)
make a new instance of a type _interf_ based on the node _n_ and the polymorphic _that_; use the implementation wrapper for _interf_ in _types_. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Personality(Personality other)
| Method Detail |
public Personality add(java.lang.Class interf,
Implementation impl)
interf - The interface to add, expressed as a Type object.impl - A way of implementing _interf_.public Personality copy()
public Polymorphic newInstance(java.lang.Class interf,
Node n,
Polymorphic that)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||