gpt4 book ai didi

org.opensaml.xml.schema.impl.XSAnyImpl类的使用及代码示例

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

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

XSAnyImpl介绍

[英]Concrete implementation of XSAny.
[中]XSAny的具体实施。

代码示例

代码示例来源:origin: cloudfoundry/uaa

} else if ("XSAny".equals(name)) {
  XSAnyImpl impl = new XSAnyImpl("","","") {};
  impl.setTextContent((String)value);
  xmlObjects.add(impl);
} else if ("XSQName".equals(name)) {
      XSAnyImpl impl = new XSAnyImpl("", "", "") {
      };
      impl.setTextContent(s);
      xmlObjects.add(impl);
    } else {

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

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

代码示例来源:origin: io.apigee.opensaml/xmltooling

/** {@inheritDoc} */
  public XSAny buildObject(String namespaceURI, String localName, String namespacePrefix) {
    return new XSAnyImpl(namespaceURI, localName, namespacePrefix);
  }
}

代码示例来源:origin: org.opensaml/xmltooling

/** {@inheritDoc} */
public void setTextContent(String newContent) {
  textContent = prepareForAssignment(textContent, newContent);
}

代码示例来源: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.opensaml/xmltooling

/** {@inheritDoc} */
  public XSAny buildObject(String namespaceURI, String localName, String namespacePrefix) {
    return new XSAnyImpl(namespaceURI, localName, namespacePrefix);
  }
}

代码示例来源:origin: io.apigee.opensaml/xmltooling

/** {@inheritDoc} */
public void setTextContent(String newContent) {
  textContent = prepareForAssignment(textContent, newContent);
}

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

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

代码示例来源: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;
}

代码示例来源: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;
}

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