本文整理了Java中org.wso2.carbon.identity.application.common.model.Property.build()
方法的一些代码示例,展示了Property.build()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Property.build()
方法的具体详情如下:
包路径:org.wso2.carbon.identity.application.common.model.Property
类名称:Property
方法名:build
暂无
代码示例来源:origin: org.wso2.carbon.identity/org.wso2.carbon.identity.application.common
while (propertiesIter.hasNext()) {
OMElement propertiesElement = (OMElement) (propertiesIter.next());
propertiesArrList.add(Property.build(propertiesElement));
代码示例来源:origin: wso2/carbon-identity-framework
while (propertiesIter.hasNext()) {
OMElement propertiesElement = (OMElement) (propertiesIter.next());
propertiesArrList.add(Property.build(propertiesElement));
代码示例来源:origin: org.wso2.carbon.identity/org.wso2.carbon.identity.application.common
while (propertiesIter.hasNext()) {
OMElement propertiesElement = (OMElement) (propertiesIter.next());
propertiesArrList.add(Property.build(propertiesElement));
代码示例来源:origin: org.wso2.carbon.identity/org.wso2.carbon.identity.application.common
public static RequestPathAuthenticatorConfig build(OMElement requestPathAuthenticatorConfigOM) {
RequestPathAuthenticatorConfig requestPathAuthenticatorConfig = new RequestPathAuthenticatorConfig();
Iterator<?> members = requestPathAuthenticatorConfigOM.getChildElements();
while (members.hasNext()) {
OMElement member = (OMElement) members.next();
if ("Name".equals(member.getLocalName())) {
requestPathAuthenticatorConfig.setName(member.getText());
} else if ("DisplayName".equals(member.getLocalName())) {
requestPathAuthenticatorConfig.setDisplayName(member.getText());
} else if ("IsEnabled".equals(member.getLocalName())) {
requestPathAuthenticatorConfig.setEnabled(Boolean.parseBoolean(member.getText()));
} else if ("Properties".equals(member.getLocalName())) {
Iterator<?> propertiesIter = member.getChildElements();
List<Property> propertiesArrList = new ArrayList<Property>();
if (propertiesIter != null) {
while (propertiesIter.hasNext()) {
OMElement propertiesElement = (OMElement) (propertiesIter.next());
Property prop = Property.build(propertiesElement);
propertiesArrList.add(prop);
}
}
if (CollectionUtils.isNotEmpty(propertiesArrList)) {
Property[] propertiesArr = propertiesArrList.toArray(new Property[0]);
requestPathAuthenticatorConfig.setProperties(propertiesArr);
}
}
}
return requestPathAuthenticatorConfig;
}
代码示例来源:origin: wso2/carbon-identity-framework
while (propertiesIter.hasNext()) {
OMElement propertiesElement = (OMElement) (propertiesIter.next());
propertiesArrList.add(Property.build(propertiesElement));
代码示例来源:origin: org.wso2.carbon.identity/org.wso2.carbon.identity.application.common
while (propertiesIter.hasNext()) {
OMElement propertiesElement = (OMElement) (propertiesIter.next());
Property prop = Property.build(propertiesElement);
if (prop != null) {
propertiesArrList.add(prop);
代码示例来源:origin: wso2/carbon-identity-framework
public static RequestPathAuthenticatorConfig build(OMElement requestPathAuthenticatorConfigOM) {
RequestPathAuthenticatorConfig requestPathAuthenticatorConfig = new RequestPathAuthenticatorConfig();
Iterator<?> members = requestPathAuthenticatorConfigOM.getChildElements();
while (members.hasNext()) {
OMElement member = (OMElement) members.next();
if ("Name".equals(member.getLocalName())) {
requestPathAuthenticatorConfig.setName(member.getText());
} else if ("DisplayName".equals(member.getLocalName())) {
requestPathAuthenticatorConfig.setDisplayName(member.getText());
} else if ("IsEnabled".equals(member.getLocalName())) {
requestPathAuthenticatorConfig.setEnabled(Boolean.parseBoolean(member.getText()));
} else if ("Properties".equals(member.getLocalName())) {
Iterator<?> propertiesIter = member.getChildElements();
List<Property> propertiesArrList = new ArrayList<Property>();
if (propertiesIter != null) {
while (propertiesIter.hasNext()) {
OMElement propertiesElement = (OMElement) (propertiesIter.next());
Property prop = Property.build(propertiesElement);
propertiesArrList.add(prop);
}
}
if (CollectionUtils.isNotEmpty(propertiesArrList)) {
Property[] propertiesArr = propertiesArrList.toArray(new Property[0]);
requestPathAuthenticatorConfig.setProperties(propertiesArr);
}
}
}
return requestPathAuthenticatorConfig;
}
代码示例来源:origin: org.wso2.carbon.identity/org.wso2.carbon.identity.application.common
while (propertiesIter.hasNext()) {
OMElement propertiesElement = (OMElement) (propertiesIter.next());
Property prop = Property.build(propertiesElement);
if (prop != null) {
propertiesArrList.add(prop);
代码示例来源:origin: wso2/carbon-identity-framework
while (propertiesIter.hasNext()) {
OMElement propertiesElement = (OMElement) (propertiesIter.next());
Property prop = Property.build(propertiesElement);
if (prop != null) {
propertiesArrList.add(prop);
代码示例来源:origin: wso2/carbon-identity-framework
while (propertiesIter.hasNext()) {
OMElement propertiesElement = (OMElement) (propertiesIter.next());
Property prop = Property.build(propertiesElement);
if (prop != null) {
propertiesArrList.add(prop);
内容来源于网络,如有侵权,请联系作者删除!