Package org.opensaml.xml.schema

Examples of org.opensaml.xml.schema.XSBooleanValue


    }
   
    /** {@inheritDoc} */
    public void setIsDefault(Boolean newIsDefault){
        if(newIsDefault != null){
            isDefault = prepareForAssignment(isDefault, new XSBooleanValue(newIsDefault, false));
        }else{
            isDefault = prepareForAssignment(isDefault, null);
        }
    }
View Full Code Here


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

    /** {@inheritDoc} */
    protected void processElementContent(XMLObject xmlObject, String elementContent) {
        if (elementContent != null) {
            Forwardable forwardable = (Forwardable) xmlObject;
            XSBooleanValue value = XSBooleanValue.valueOf(elementContent);
            forwardable.setValue(value);
        }
    }
View Full Code Here

    /** {@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);
View Full Code Here

    }

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

    /** {@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);
View Full Code Here

    /** {@inheritDoc} */
    public void setMustBePresent(Boolean present) {
  if (present != null) {
      mustBePresentXS = prepareForAssignment(mustBePresentXS,
        new XSBooleanValue(present, false));
  } else {
      mustBePresentXS = prepareForAssignment(mustBePresentXS, null);
  }
    }
View Full Code Here

    /** {@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);
View Full Code Here

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

View Full Code Here

public class DelegatableMarshaller extends AbstractWSTrustObjectMarshaller {

    /** {@inheritDoc} */
    protected void marshallElementContent(XMLObject xmlObject, Element domElement) throws MarshallingException {
        Delegatable delegatable = (Delegatable) xmlObject;
        XSBooleanValue value= delegatable.getValue();
        XMLHelper.appendTextContent(domElement, value.toString());
    }
View Full Code Here

TOP

Related Classes of org.opensaml.xml.schema.XSBooleanValue

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.