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