|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XmlObjectBinding
Interface to be implemented by classes allowed to create instances of
XmlObject.
| Method Summary | ||
|---|---|---|
boolean |
canWrap(java.lang.Object obj)
Return whether or not this delegate can wrap a given internal model object. |
|
|
create(XmlContext xmlContext,
java.lang.Class<X> xmlObjectImplClass)
Create a new XmlObject. |
|
java.lang.Class<? extends XmlObjectNode>[] |
getFactorableClasses()
Get array of classes for which this factory delegate can factor objects. |
|
java.lang.String |
getName()
Get unique name of this binding. |
|
|
wrap(XmlContext xmlContext,
java.lang.Class<X> xmlObjectImplClass,
java.lang.Object obj)
Wrap an internal model object into an implementation of XmlObject
. |
|
XmlObjectNode |
wrap(XmlContext xmlContext,
java.lang.Object obj)
Wrap any internal model object into an XmlObject, guessing the
proper XmlObject implementation. |
|
| Method Detail |
|---|
java.lang.String getName()
java.lang.Class<? extends XmlObjectNode>[] getFactorableClasses()
XmlObject implementation classes.boolean canWrap(java.lang.Object obj)
obj - Object to be wrapped into an XmlObject.
true if this delegate can wrap obj, false otherwise.
<X extends XmlObjectNode> X wrap(XmlContext xmlContext,
java.lang.Class<X> xmlObjectImplClass,
java.lang.Object obj)
XmlObject
.
X - Type of desired XmlObject implementation.xmlContext - Associated XmlContext.xmlObjectImplClass - Concrete class to be instantiated.obj - Model object to be wrapped.
XmlObject.
XmlObjectNode wrap(XmlContext xmlContext,
java.lang.Object obj)
XmlObject, guessing the
proper XmlObject implementation.
xmlContext - Associated XmlContext.obj - Model object to be wrapped.
XmlObject.
<X extends XmlObjectNode> X create(XmlContext xmlContext,
java.lang.Class<X> xmlObjectImplClass)
XmlObject.
X - Type of desired XmlObject implementation.xmlContext - Associated XmlContext.xmlObjectImplClass - Concrete class to be instantiated.
XmlObject.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||