for (SchemaElementSimple simple : complexProperty.getSimpleElements())
{
if (simple.getName().equals(propertyNameAtomic))
{
return new DOMComplexElementGetter(propertyNameAtomic, null, simple.isArray());
}
}
for (SchemaElementComplex complex : complexProperty.getChildren())
{
FragmentFactoryDOMGetter complexFragmentFactory = new FragmentFactoryDOMGetter(eventAdapterService, xmlEventType, propertyExpression);
if (complex.getName().equals(propertyNameAtomic))
{
return new DOMComplexElementGetter(propertyNameAtomic, complexFragmentFactory, complex.isArray());
}
}
return null;
}