*/
public class ReferenceTypeMarshaller extends AbstractXMLEncryptionMarshaller {
/** {@inheritDoc} */
protected void marshallAttributes(XMLObject xmlObject, Element domElement) throws MarshallingException {
ReferenceType rt = (ReferenceType) xmlObject;
if (rt.getURI() != null) {
domElement.setAttributeNS(null, ReferenceType.URI_ATTRIB_NAME, rt.getURI());
} else {
super.marshallAttributes(xmlObject, domElement);
}
}