/** {@inheritDoc} */ public void marshallAttributes(XMLObject samlObject, Element domElement) { IndexedEndpoint iEndpoint = (IndexedEndpoint) samlObject; if (iEndpoint.getIndex() != null) { domElement.setAttributeNS(null, IndexedEndpoint.INDEX_ATTRIB_NAME, iEndpoint.getIndex().toString()); } if (iEndpoint.isDefaultXSBoolean() != null) { domElement.setAttributeNS(null, IndexedEndpoint.IS_DEFAULT_ATTRIB_NAME, iEndpoint.isDefaultXSBoolean() .toString()); } super.marshallAttributes(samlObject, domElement); } }
if (firstNoDefault == null && endpoint.isDefaultXSBoolean() == null) { firstNoDefault = endpoint;