*/
public class PasswordMarshaller extends AttributedStringMarshaller {
/** {@inheritDoc} */
protected void marshallAttributes(XMLObject xmlObject, Element domElement) throws MarshallingException {
Password password = (Password) xmlObject;
if (!DatatypeHelper.isEmpty(password.getType())) {
domElement.setAttributeNS(null, Password.TYPE_ATTRIB_NAME, password.getType());
}
super.marshallAttributes(xmlObject, domElement);
}