*/
public class AttributedStringUnmarshaller extends AbstractWSSecurityObjectUnmarshaller {
/** {@inheritDoc} */
protected void processAttribute(XMLObject xmlObject, Attr attribute) throws UnmarshallingException {
AttributedString attributedString = (AttributedString) xmlObject;
QName attribQName =
XMLHelper.constructQName(attribute.getNamespaceURI(), attribute.getLocalName(), attribute.getPrefix());
if (AttributedString.WSU_ID_ATTR_NAME.equals(attribQName)) {
attributedString.setWSUId(attribute.getValue());
attribute.getOwnerElement().setIdAttributeNode(attribute, true);
} else {
XMLHelper.unmarshallToAttributeMap(attributedString.getUnknownAttributes(), attribute);
}
}