org.opensaml.core.xml.schema.XSBooleanValue.<init>()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(7.1k)|赞(0)|评价(0)|浏览(159)

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

XSBooleanValue.<init>介绍

[英]Constructor. Uses lexical representation and sets value to null.
[中]建造师。使用词法表示并将值设置为null。

代码示例

代码示例来源:origin: org.opensaml/opensaml-soap-impl

/**
 * Constructor. Default value is <code>TRUE</code>.
 * 
 * @param namespaceURI The namespace of the element
 * @param elementLocalName The local name of the element
 * @param namespacePrefix The namespace prefix of the element
 */
public ForwardableImpl(String namespaceURI, String elementLocalName, String namespacePrefix) {
  super(namespaceURI, elementLocalName, namespacePrefix);
  value = new XSBooleanValue(DEFAULT_VALUE, false);
}

代码示例来源:origin: org.opensaml/opensaml-saml-impl

/** {@inheritDoc} */
public void setPassive(Boolean newIsPassive) {
  if (newIsPassive != null) {
    isPassive = prepareForAssignment(isPassive, new XSBooleanValue(newIsPassive, false));
  } else {
    isPassive = prepareForAssignment(isPassive, null);
  }
}

代码示例来源:origin: org.opensaml/opensaml-saml-impl

/** {@inheritDoc} */
public void setIsRequired(Boolean newIsRequired){
  if(newIsRequired != null){
    isRequired = prepareForAssignment(isRequired, new XSBooleanValue(newIsRequired, false));
  }else{
    isRequired = prepareForAssignment(isRequired, null);
  }
}

代码示例来源:origin: net.shibboleth.idp/idp-saml-impl

/** {@inheritDoc} */
public void setRegexp(final Boolean newRegexp) {
  if (newRegexp != null) {
    regexp = prepareForAssignment(regexp, new XSBooleanValue(newRegexp, false));
  } else {
    regexp = prepareForAssignment(regexp, null);
  }
}

代码示例来源:origin: org.opensaml/opensaml-saml-impl

/** {@inheritDoc} */
@Override
public void setWantAssertionsSigned(Boolean newWantAssertionsSigned) {
  if (newWantAssertionsSigned != null) {
    wantAssertionsSigned = prepareForAssignment(wantAssertionsSigned, 
        new XSBooleanValue(newWantAssertionsSigned, false));
  } else {
    wantAssertionsSigned = prepareForAssignment(wantAssertionsSigned, null);
  }
}

代码示例来源:origin: org.opensaml/opensaml-saml-impl

/** {@inheritDoc} */
public void setAuthnRequestsSigned(Boolean newIsSigned) {
  if(newIsSigned != null){
    authnRequestSigned = prepareForAssignment(authnRequestSigned, new XSBooleanValue(newIsSigned, false));
  }else{
    authnRequestSigned = prepareForAssignment(authnRequestSigned, null);
  }
}

代码示例来源:origin: org.opensaml/opensaml-saml-impl

/** {@inheritDoc} */
public void setIsPassive(Boolean newIsPassive) {
  if (newIsPassive != null) {
    isPassive = prepareForAssignment(isPassive, new XSBooleanValue(newIsPassive, false));
  } else {
    isPassive = prepareForAssignment(isPassive, null);
  }
}

代码示例来源:origin: org.opensaml/opensaml-saml-impl

/** {@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-saml-impl

/** {@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-soap-impl

/** {@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-soap-impl

/** {@inheritDoc} */
public void setAllow(Boolean newAllow) {
  if (newAllow != null) {
    allow = prepareForAssignment(allow, new XSBooleanValue(newAllow, false));
  } else {
    allow = prepareForAssignment(allow, null);
  }        
}

代码示例来源:origin: org.opensaml/opensaml-soap-impl

/** {@inheritDoc} */
public void setOK(Boolean newOK) {
  if (newOK != null) {
    ok = prepareForAssignment(ok, new XSBooleanValue(newOK, false));
  } else {
    ok = prepareForAssignment(ok, null);
  }        
}

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

/** {@inheritDoc} */
public void setNil(@Nullable final 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.apache.servicemix.bundles/org.apache.servicemix.bundles.opensaml

/** {@inheritDoc} */
public void setNil(@Nullable final 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/opensaml-saml-impl

/** {@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-saml-impl

/** {@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-saml-impl

/** {@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-saml-impl

/** {@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-soap-impl

/** {@inheritDoc} */
public void setSOAP12MustUnderstand(Boolean newMustUnderstand) {
  if (newMustUnderstand != null) {
    soap12MustUnderstand = prepareForAssignment(soap12MustUnderstand, 
        new XSBooleanValue(newMustUnderstand, false));
  } else {
    soap12MustUnderstand = prepareForAssignment(soap12MustUnderstand, null);
  }
  manageQualifiedAttributeNamespace(SOAP12_MUST_UNDERSTAND_ATTR_NAME, soap12MustUnderstand != null);
}

代码示例来源:origin: org.opensaml/opensaml-soap-impl

/** {@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);
}

相关文章