lib/rsaml/identifier/name.rb
def to_xml(xml=Builder::XmlMarkup.new)
        attributes = {'Format' => format}
        attributes['NameQualifier'] = name_qualifier unless name_qualifier.nil?
        attributes['SPNameQualifier'] = sp_name_qualifier unless sp_name_qualifier.nil?
        attributes['SPProvidedID'] = sp_provided_id unless sp_provided_id.nil?
        xml.tag!('saml:NameID', value, attributes)
      end
# Construct an XML fragment representing the name
Construct an XML fragment representing the name
Construct an XML fragment representing the name
def to_xml(xml=Builder::XmlMarkup.new)
        attributes = {'Format' => format}
        attributes['NameQualifier'] = name_qualifier unless name_qualifier.nil?
        attributes['SPNameQualifier'] = sp_name_qualifier unless sp_name_qualifier.nil?
        attributes['SPProvidedID'] = sp_provided_id unless sp_provided_id.nil?
        xml.tag!('saml:NameID', value, attributes)
      end
def to_xml ( xml = Builder :: XmlMarkup . new ) attributes = { 'Format' => format } attributes [ 'NameQualifier' ] = name_qualifier unless name_qualifier . nil? attributes [ 'SPNameQualifier' ] = sp_name_qualifier unless sp_name_qualifier . nil? attributes [ 'SPProvidedID' ] = sp_provided_id unless sp_provided_id . nil? xml . tag! ( 'saml:NameID' , value , attributes ) end
Construct an XML fragment representing the name
Construct an XML fragment representing the name
xml
new