}
public boolean canEncode( Element element, Object value, Map hints ) {
if (element.getType() != null && getName().equals(element.getType().getName())) {
for (int i = 0; i < ogcSimpleTypes.CapabilitiesSectionType.getInstance().getFacets().length; i++) {
Facet facet = ogcSimpleTypes.CapabilitiesSectionType.getInstance().getFacets()[i];
if (facet.getValue().equals(value)) {
return true;
}
}
if (value == null || value == "") { //$NON-NLS-1$