Code example for Attr

Methods: getValue, isId

0
     * {@inheritDoc} 
     */ 
    protected void processAttribute(XMLObject samlObject, Attr attribute) throws UnmarshallingException {
        Organization org = (Organization) samlObject;
         
        QName attribQName = XMLHelper.getNodeQName(attribute);
        if (attribute.isId()) {
           org.getUnknownAttributes().registerID(attribQName);
        } 
        org.getUnknownAttributes().put(attribQName, attribute.getValue());
    } 
}