gpt4 book ai didi

org.opensaml.xml.schema.impl.XSAnyImpl.getTextContent()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-25 03:51:05 26 4
gpt4 key购买 nike

本文整理了Java中org.opensaml.xml.schema.impl.XSAnyImpl.getTextContent()方法的一些代码示例,展示了XSAnyImpl.getTextContent()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XSAnyImpl.getTextContent()方法的具体详情如下:
包路径:org.opensaml.xml.schema.impl.XSAnyImpl
类名称:XSAnyImpl
方法名:getTextContent

XSAnyImpl.getTextContent介绍

暂无

代码示例

代码示例来源:origin: metatron-app/metatron-discovery

private String getAnyAttributeValue(XSAnyImpl attributeValue){
 return attributeValue.getTextContent();
}

代码示例来源:origin: org.wso2.carbon.identity.carbon.auth.saml2/org.wso2.carbon.identity.authenticator.saml2.sso

private String getAnyAttributeValue(XSAnyImpl attributeValue) {
  return attributeValue.getTextContent();
}

代码示例来源:origin: org.wso2.carbon.apimgt/org.wso2.carbon.apimgt.keymgt

private static String getAnyAttributeValue(XSAnyImpl attributeValue) {
  return attributeValue.getTextContent();
}

代码示例来源:origin: org.apereo.service.persondir/person-directory-impl

/**
 * Extracts the string value of the XMLObject depending upon its type.
 * @param xmlo XMLObject
 * @return String value of object. Null if unable to convert object to string.
 */
private String extractStringValue(XMLObject xmlo) {
  if (xmlo instanceof XSString) {
    return ((XSString)xmlo).getValue();
  } else if (xmlo instanceof XSAnyImpl) {
    return ((XSAnyImpl)xmlo).getTextContent();
  }
  logger.warn("Unable to map attribute class {} to String. Unknown type. Enable TRACE logging to see attribute name",
      xmlo.getClass());
  return null;
}

代码示例来源:origin: org.jasig.service.persondir/person-directory-impl

/**
 * Extracts the string value of the XMLObject depending upon its type.
 * @param xmlo XMLObject
 * @return String value of object. Null if unable to convert object to string.
 */
private String extractStringValue(XMLObject xmlo) {
  if (xmlo instanceof XSString) {
    return ((XSString)xmlo).getValue();
  } else if (xmlo instanceof XSAnyImpl) {
    return ((XSAnyImpl)xmlo).getTextContent();
  }
  logger.warn("Unable to map attribute class {} to String. Unknown type. Enable TRACE logging to see attribute name",
      xmlo.getClass());
  return null;
}

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com