/** {@inheritDoc} */ protected void marshallElementContent(XMLObject xmlObject, Element domElement) throws MarshallingException { AttributedUnsignedLong aul = (AttributedUnsignedLong) xmlObject; if (aul.getValue() != null) { ElementSupport.appendTextContent(domElement, aul.getValue().toString()); } }
/** {@inheritDoc} */ protected void marshallElementContent(XMLObject samlObject, Element domElement) throws MarshallingException { LocalizedURI name = (LocalizedURI) samlObject; if (name.getValue() != null) { ElementSupport.appendTextContent(domElement, name.getValue()); } }
/** {@inheritDoc} */ protected void marshallElementContent(XMLObject samlObject, Element domElement) throws MarshallingException { Company company = (Company) samlObject; if (company.getName() != null) { ElementSupport.appendTextContent(domElement, company.getName()); } }
/** {@inheritDoc} */ protected void marshallElementContent(XMLObject samlObject, Element domElement) throws MarshallingException { Keywords words = (Keywords) samlObject; if (words.getKeywords() != null) { StringBuilder sb = new StringBuilder(); for (String s : words.getKeywords()) { sb.append(s); sb.append(' '); } ElementSupport.appendTextContent(domElement, sb.toString()); } }