|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jsefa.xml.annotation.XmlEntryPointFactory
public final class XmlEntryPointFactory
Factory for creating XmlEntryPoints from annotated classes.
| Constructor Summary | |
|---|---|
XmlEntryPointFactory(XmlTypeMappingFactory typeMappingFactory,
ValidatorFactory validatorFactory)
Constructs a new XmlEntryPointFactory. |
|
| Method Summary | |
|---|---|
Collection<XmlEntryPoint> |
createEntryPoints(Class<?>... objectTypes)
Creates entry points for the given object types and their descendants using their annotations. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XmlEntryPointFactory(XmlTypeMappingFactory typeMappingFactory,
ValidatorFactory validatorFactory)
XmlEntryPointFactory.
typeMappingFactory - the type mapping factory.validatorFactory - the validator factory.| Method Detail |
|---|
public Collection<XmlEntryPoint> createEntryPoints(Class<?>... objectTypes)
The following rules apply:
1. For each two object types A and B in objectTypes with B being a descendant of A and A < B
(A comes before B in objectTypes), the resulting list contains an entry point with an
element name taken from B and not from A.
2. For each descendant B of an object type A in objectTypes the resulting list contains an
entry point with an element name taken from A and not from B as long as rule 1 does not apply.
objectTypes - the object types
Collection of entry points.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||