private String getRecordElement(CSWRecordsResult response) { switch (response.getElementSet()) { case BRIEF: return "BriefRecord"; case SUMMARY: return "SummaryRecord"; default: return "Record"; } }
private List<Name> getElements(CSWRecordsResult response) { switch (response.getElementSet()) { case BRIEF: return CSWRecordDescriptor.BRIEF_ELEMENTS; case SUMMARY: return CSWRecordDescriptor.SUMMARY_ELEMENTS; default: return null; } }
private List<Name> getElements(CSWRecordsResult response) { switch (response.getElementSet()) { case BRIEF: return CSWRecordDescriptor.BRIEF_ELEMENTS; case SUMMARY: return CSWRecordDescriptor.SUMMARY_ELEMENTS; default: return null; } } }
private String getRecordElement(CSWRecordsResult response) { switch (response.getElementSet()) { case BRIEF: return "BriefRecord"; case SUMMARY: return "SummaryRecord"; default: return "Record"; } }
element("csw:SearchStatus", null, attributes); if (response.getElementSet() == null) { response.setElementSet(ElementSetType.FULL); addAttribute(attributes, "nextRecord", response.getNextRecord()); addAttribute(attributes, "recordSchema", response.getRecordSchema()); addAttribute(attributes, "elementSet", response.getElementSet()); start("csw:SearchResults", attributes);
element("csw:SearchStatus", null, attributes); if(response.getElementSet() == null) { response.setElementSet(ElementSetType.FULL); addAttribute(attributes, "nextRecord", response.getNextRecord()); addAttribute(attributes, "recordSchema", response.getRecordSchema()); addAttribute(attributes, "elementSet", response.getElementSet()); start("csw:SearchResults", attributes);