*/
public class BinarySecurityTokenMarshaller extends EncodedStringMarshaller {
/** {@inheritDoc} */
protected void marshallAttributes(XMLObject xmlObject, Element domElement) throws MarshallingException {
BinarySecurityToken token = (BinarySecurityToken) xmlObject;
if (!DatatypeHelper.isEmpty(token.getValueType())) {
domElement.setAttributeNS(null, BinarySecurityToken.ENCODING_TYPE_ATTRIB_NAME, token.getValueType());
}
super.marshallAttributes(xmlObject, domElement);
}