本文整理了Java中org.opensaml.xml.schema.XSBooleanValue.<init>()
方法的一些代码示例,展示了XSBooleanValue.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XSBooleanValue.<init>()
方法的具体详情如下:
包路径:org.opensaml.xml.schema.XSBooleanValue
类名称:XSBooleanValue
方法名:<init>
[英]Constructor. Uses lexical representation and sets value to null.
[中]建造师。使用词法表示并将值设置为null。
代码示例来源:origin: cloudfoundry/uaa
/** {@inheritDoc} */
public XSBooleanValue isNilXSBoolean() {
return new XSBooleanValue(Boolean.FALSE, false);
}
代码示例来源:origin: cloudfoundry/uaa
} else if ("XSBoolean".equals(name)) {
XSBooleanImpl impl = new XSBooleanImpl("","",""){};
impl.setValue(new XSBooleanValue((Boolean)value, false));
xmlObjects.add(impl);
} else if ("XSDateTime".equals(name)) {
impl.setValue(new XSBooleanValue((Boolean)value, false));
xmlObjects.add(impl);
} else {
代码示例来源:origin: org.opensaml/opensaml
/** {@inheritDoc} */
public void setForceAuthn(Boolean newForceAuth) {
if (newForceAuth != null) {
forceAuthn = prepareForAssignment(forceAuthn, new XSBooleanValue(newForceAuth, false));
} else {
forceAuthn = prepareForAssignment(forceAuthn, null);
}
}
代码示例来源:origin: org.opensaml/opensaml
/** {@inheritDoc} */
public void setIsDefault(Boolean newIsDefault){
if(newIsDefault != null){
isDefault = prepareForAssignment(isDefault, new XSBooleanValue(newIsDefault, false));
}else{
isDefault = prepareForAssignment(isDefault, null);
}
}
代码示例来源:origin: org.opensaml/opensaml
/** {@inheritDoc} */
public void setReturnContext(Boolean returnContext) {
if (returnContext != null) {
this.returnContext = prepareForAssignment(this.returnContext, new XSBooleanValue(returnContext, false));
} else {
this.returnContext = prepareForAssignment(this.returnContext, null);
}
}
代码示例来源:origin: org.opensaml/openws
/** {@inheritDoc} */
public void setOK(Boolean newOK) {
if (newOK != null) {
ok = prepareForAssignment(ok, new XSBooleanValue(newOK, false));
} else {
ok = prepareForAssignment(ok, null);
}
}
代码示例来源:origin: org.opensaml/openws
/** {@inheritDoc} */
public void setValue(XSBooleanValue newValue) {
if (newValue != null) {
value = prepareForAssignment(value, newValue);
} else {
value = prepareForAssignment(value, new XSBooleanValue(DEFAULT_VALUE, false));
}
}
代码示例来源:origin: org.opensaml/opensaml
/** {@inheritDoc} */
public void setCombinePolicies(Boolean combinePolicies) {
if (combinePolicies != null) {
this.combinePolicies = prepareForAssignment(this.combinePolicies,
new XSBooleanValue(combinePolicies, false));
} else {
this.combinePolicies = prepareForAssignment(this.combinePolicies, null);
}
}
代码示例来源:origin: org.opensaml/opensaml
/** {@inheritDoc} */
public void setMustBePresent(Boolean present) {
if (present != null) {
this.mustBePresentXS = prepareForAssignment(this.mustBePresentXS,
new XSBooleanValue(present, false));
} else {
this.mustBePresentXS = prepareForAssignment(this.mustBePresentXS,
null);
}
}
代码示例来源:origin: org.springframework.security.extensions/spring-security-saml2-core
/** {@inheritDoc} */
public void setSOAP11MustUnderstand(Boolean newMustUnderstand) {
if (newMustUnderstand != null) {
soap11MustUnderstand = prepareForAssignment(soap11MustUnderstand,
new XSBooleanValue(newMustUnderstand, true));
} else {
soap11MustUnderstand = prepareForAssignment(soap11MustUnderstand, null);
}
}
代码示例来源:origin: org.opensaml/openws
/** {@inheritDoc} */
public void setValue(XSBooleanValue newValue) {
if (newValue != null) {
value = prepareForAssignment(value, newValue);
} else {
value = prepareForAssignment(value, new XSBooleanValue(DEFAULT_VALUE, false));
}
}
代码示例来源:origin: org.opensaml/opensaml
/** {@inheritDoc} */
public void setMustBePresent(Boolean present) {
if (present != null) {
mustBePresentXS = prepareForAssignment(mustBePresentXS,
new XSBooleanValue(present, false));
} else {
mustBePresentXS = prepareForAssignment(mustBePresentXS, null);
}
}
代码示例来源:origin: org.opensaml/opensaml
/** {@inheritDoc} */
public void setWantAssertionsSigned(Boolean newWantAssertionsSigned) {
if (newWantAssertionsSigned != null) {
wantAssertionsSigned = prepareForAssignment(wantAssertionsSigned,
new XSBooleanValue(newWantAssertionsSigned, false));
} else {
wantAssertionsSigned = prepareForAssignment(wantAssertionsSigned, null);
}
}
代码示例来源:origin: org.opensaml/opensaml
/** {@inheritDoc} */
public void setWantAuthnRequestsSigned(Boolean newWantSigned){
if(newWantSigned != null){
wantAuthnRequestsSigned = prepareForAssignment(wantAuthnRequestsSigned, new XSBooleanValue(newWantSigned, false));
}else{
wantAuthnRequestsSigned = prepareForAssignment(wantAuthnRequestsSigned, null);
}
}
代码示例来源:origin: org.opensaml/opensaml
/** {@inheritDoc} */
public void setSOAP11MustUnderstand(Boolean newMustUnderstand) {
if (newMustUnderstand != null) {
soap11MustUnderstand = prepareForAssignment(soap11MustUnderstand,
new XSBooleanValue(newMustUnderstand, true));
} else {
soap11MustUnderstand = prepareForAssignment(soap11MustUnderstand, null);
}
manageQualifiedAttributeNamespace(MustUnderstandBearing.SOAP11_MUST_UNDERSTAND_ATTR_NAME,
soap11MustUnderstand != null);
}
代码示例来源:origin: org.opensaml/opensaml
/** {@inheritDoc} */
public void setSOAP11MustUnderstand(Boolean newMustUnderstand) {
if (newMustUnderstand != null) {
soap11MustUnderstand = prepareForAssignment(soap11MustUnderstand,
new XSBooleanValue(newMustUnderstand, true));
} else {
soap11MustUnderstand = prepareForAssignment(soap11MustUnderstand, null);
}
manageQualifiedAttributeNamespace(MustUnderstandBearing.SOAP11_MUST_UNDERSTAND_ATTR_NAME,
soap11MustUnderstand != null);
}
代码示例来源:origin: org.opensaml/opensaml
/** {@inheritDoc} */
public void setSOAP11MustUnderstand(Boolean newMustUnderstand) {
if (newMustUnderstand != null) {
soap11MustUnderstand = prepareForAssignment(soap11MustUnderstand,
new XSBooleanValue(newMustUnderstand, true));
} else {
soap11MustUnderstand = prepareForAssignment(soap11MustUnderstand, null);
}
manageQualifiedAttributeNamespace(MustUnderstandBearing.SOAP11_MUST_UNDERSTAND_ATTR_NAME,
soap11MustUnderstand != null);
}
代码示例来源:origin: org.opensaml/opensaml
/** {@inheritDoc} */
public void setSOAP11MustUnderstand(Boolean newMustUnderstand) {
if (newMustUnderstand != null) {
soap11MustUnderstand = prepareForAssignment(soap11MustUnderstand,
new XSBooleanValue(newMustUnderstand, true));
} else {
soap11MustUnderstand = prepareForAssignment(soap11MustUnderstand, null);
}
manageQualifiedAttributeNamespace(MustUnderstandBearing.SOAP11_MUST_UNDERSTAND_ATTR_NAME,
soap11MustUnderstand != null);
}
代码示例来源:origin: org.opensaml/xmltooling
/** {@inheritDoc} */
public void setNil(Boolean newNil) {
if (newNil != null) {
nil = prepareForAssignment(nil, new XSBooleanValue(newNil, false));
} else {
nil = prepareForAssignment(nil, null);
}
manageQualifiedAttributeNamespace(XMLConstants.XSI_NIL_ATTRIB_NAME, nil != null);
}
代码示例来源:origin: org.opensaml/openws
/** {@inheritDoc} */
public void setSOAP12MustUnderstand(Boolean newMustUnderstand) {
if (newMustUnderstand != null) {
soap12MustUnderstand = prepareForAssignment(soap12MustUnderstand,
new XSBooleanValue(newMustUnderstand, false));
} else {
soap12MustUnderstand = prepareForAssignment(soap12MustUnderstand, null);
}
manageQualifiedAttributeNamespace(org.opensaml.ws.soap.soap12.MustUnderstandBearing.SOAP12_MUST_UNDERSTAND_ATTR_NAME,
soap12MustUnderstand != null);
}
内容来源于网络,如有侵权,请联系作者删除!