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

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

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

XSBooleanValue.getValue介绍

[英]Gets the boolean value.
[中]获取布尔值。

代码示例

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

/** {@inheritDoc} */
public Boolean isNil() {
  if (nil != null) {
    return nil.getValue();
  }
  return Boolean.FALSE;
}

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

/** {@inheritDoc} */
public Boolean getAllowCreate(){
  if(allowCreate != null){
    return allowCreate.getValue();
  }
  
  return Boolean.FALSE;
}

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

/** {@inheritDoc} */
public Boolean getWantAssertionsSigned() {
  if (assertionSigned == null) {
    return Boolean.FALSE;
  }
  return assertionSigned.getValue();
}

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

/** {@inheritDoc} */
public Boolean isForceAuthn() {
  if (forceAuthn != null) {
    return forceAuthn.getValue();
  }
  return Boolean.FALSE;
}

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

/** {@inheritDoc} */
public Boolean isSOAP11MustUnderstand() {
  if (soap11MustUnderstand != null) {
    return soap11MustUnderstand.getValue();
  }
  return Boolean.FALSE;
}

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

/** {@inheritDoc} */
public Boolean getWantAuthnRequestsSigned() {
  if (wantAuthnRequestsSigned != null) {
    return wantAuthnRequestsSigned.getValue();
  }
  return Boolean.FALSE;
}

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

/** {@inheritDoc} */
public Boolean isPassive() {
  if (isPassive != null) {
    return isPassive.getValue();
  }
  return Boolean.FALSE;
}

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

/** {@inheritDoc} */
@Override
public Boolean isSOAP11MustUnderstand() {
  if (soap11MustUnderstand != null) {
    return soap11MustUnderstand.getValue();
  }
  return Boolean.FALSE;
}

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

/** {@inheritDoc} */
public Boolean isCombinePolicies() {
  if (combinePolicies != null) {
    return combinePolicies.getValue();
  }
  return Boolean.TRUE;
}

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

/** {@inheritDoc} */
public Boolean getRegexp() {
  if (regexp == null) {
    return Boolean.FALSE;
  }
  return regexp.getValue();
}

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

/** {@inheritDoc} */
public Boolean isSOAP12MustUnderstand() {
  if (soap12MustUnderstand != null) {
    return soap12MustUnderstand.getValue();
  }
  return Boolean.FALSE;
}

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

/** {@inheritDoc} */
public Boolean isAuthnRequestsSigned() {
  if (authnRequestSigned == null) {
    return Boolean.FALSE;
  }
  return authnRequestSigned.getValue();
}

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

/** {@inheritDoc} */
public Boolean isPassive() {
  if (isPassive != null) {
    return isPassive.getValue();
  }
  return Boolean.FALSE;
}

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

/** {@inheritDoc} */
public Boolean isDefault() {
  if (isDefault == null) {
    return Boolean.FALSE;
  }
  return isDefault.getValue();
}

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

/** {@inheritDoc} */
public Boolean isSOAP11MustUnderstand() {
  if (soap11MustUnderstand != null) {
    return soap11MustUnderstand.getValue();
  }
  return Boolean.FALSE;
}

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

/** {@inheritDoc} */
public Boolean isInputContextOnly() {
  if (inputContextOnly != null) {
    return inputContextOnly.getValue();
  }
  return Boolean.FALSE;
}

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

/** {@inheritDoc} */
public Boolean isReturnContext() {
  if (returnContext != null) {
    return returnContext.getValue();
  }
  return Boolean.FALSE;
}

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

/** {@inheritDoc} */
public Boolean isSOAP11MustUnderstand() {
  if (soap11MustUnderstand != null) {
    return soap11MustUnderstand.getValue();
  }
  return Boolean.FALSE;
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.opensaml

/** {@inheritDoc} */
  @Override
  protected void marshallElementContent(@Nonnull final XMLObject xmlObject, @Nonnull final Element domElement)
      throws MarshallingException {
    XSBoolean xsiBoolean = (XSBoolean) xmlObject;

    if (xsiBoolean.getValue() != null && xsiBoolean.getValue().getValue() != null) {
      ElementSupport.appendTextContent(domElement, xsiBoolean.getValue().getValue().toString());
    }
  }
}

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

/** {@inheritDoc} */
  @Override
  protected void marshallElementContent(@Nonnull final XMLObject xmlObject, @Nonnull final Element domElement)
      throws MarshallingException {
    XSBoolean xsiBoolean = (XSBoolean) xmlObject;

    if (xsiBoolean.getValue() != null && xsiBoolean.getValue().getValue() != null) {
      ElementSupport.appendTextContent(domElement, xsiBoolean.getValue().getValue().toString());
    }
  }
}

相关文章