/** {@inheritDoc} */ public String toString() { return toString(value, numeric); }
/** {@inheritDoc} */ public String toString() { return toString(value, numeric); }
/** {@inheritDoc} */ protected void marshallAttributes(XMLObject xmlObject, Element domElement) throws MarshallingException { ShibbolethMetadataScope scope = (ShibbolethMetadataScope) xmlObject; if (scope.getRegexpXSBoolean() != null) { domElement.setAttributeNS(null, ShibbolethMetadataScope.REGEXP_ATTRIB_NAME, scope.getRegexpXSBoolean().toString()); } }
/** {@inheritDoc} */ protected void marshallAttributes(XMLObject xmlObject, Element domElement) throws MarshallingException { Renewing renewing = (Renewing) xmlObject; if (renewing.isAllowXSBoolean() != null) { domElement.setAttributeNS(null, Renewing.ALLOW_ATTRIB_NAME, renewing.isAllowXSBoolean().toString()); } if (renewing.isOKXSBoolean() != null) { domElement.setAttributeNS(null, Renewing.OK_ATTRIB_NAME, renewing.isOKXSBoolean().toString()); } }
/** {@inheritDoc} */ protected void marshallAttributes(XMLObject samlObject, Element domElement) throws MarshallingException { AttributeConsumingService service = (AttributeConsumingService) samlObject; domElement.setAttributeNS(null, AttributeConsumingService.INDEX_ATTRIB_NAME, Integer.toString(service .getIndex())); if (service.isDefaultXSBoolean() != null) { domElement.setAttributeNS(null, AttributeConsumingService.IS_DEFAULT_ATTRIB_NAME, service .isDefaultXSBoolean().toString()); } } }
/** {@inheritDoc} */ protected void marshallElementContent(XMLObject xmlObject, Element domElement) throws MarshallingException { Forwardable forwardable = (Forwardable) xmlObject; XSBooleanValue value= forwardable.getValue(); XMLHelper.appendTextContent(domElement, value.toString()); } }
/** {@inheritDoc} */ protected void marshallElementContent(XMLObject xmlObject, Element domElement) throws MarshallingException { Delegatable delegatable = (Delegatable) xmlObject; XSBooleanValue value= delegatable.getValue(); XMLHelper.appendTextContent(domElement, value.toString()); }
/** {@inheritDoc} */ protected void marshallAttributes(XMLObject samlObject, Element domElement) throws MarshallingException { IDPSSODescriptor descriptor = (IDPSSODescriptor) samlObject; if (descriptor.getWantAuthnRequestsSignedXSBoolean() != null) { domElement.setAttributeNS(null, IDPSSODescriptor.WANT_AUTHN_REQ_SIGNED_ATTRIB_NAME, descriptor .getWantAuthnRequestsSignedXSBoolean().toString()); } super.marshallAttributes(samlObject, domElement); } }
/** {@inheritDoc} */ protected void marshallAttributes(XMLObject samlObject, Element domElement) throws MarshallingException { RequestedAttribute requestedAttribute = (RequestedAttribute) samlObject; if (requestedAttribute.isRequiredXSBoolean() != null) { domElement.setAttributeNS(null, RequestedAttribute.IS_REQUIRED_ATTRIB_NAME, requestedAttribute .isRequiredXSBoolean().toString()); } super.marshallAttributes(samlObject, domElement); } }
/** {@inheritDoc} */ protected void marshallAttributes(XMLObject samlObject, Element domElement) throws MarshallingException { SPSSODescriptor descriptor = (SPSSODescriptor) samlObject; if (descriptor.isAuthnRequestsSignedXSBoolean() != null) { domElement.setAttributeNS(null, SPSSODescriptor.AUTH_REQUESTS_SIGNED_ATTRIB_NAME, descriptor .isAuthnRequestsSignedXSBoolean().toString()); } if (descriptor.getWantAssertionsSignedXSBoolean() != null) { domElement.setAttributeNS(null, SPSSODescriptor.WANT_ASSERTIONS_SIGNED_ATTRIB_NAME, descriptor .getWantAssertionsSignedXSBoolean().toString()); } super.marshallAttributes(samlObject, domElement); } }
/** {@inheritDoc} */ protected void marshallAttributes(XMLObject xmlObject, Element domElement) throws MarshallingException { QueryDescriptorType descriptor = (QueryDescriptorType) xmlObject; if (descriptor.getWantAssertionsSignedXSBoolean() != null) { domElement.setAttributeNS(null, QueryDescriptorType.WANT_ASSERTIONS_SIGNED_ATTRIB_NAME, descriptor .getWantAssertionsSignedXSBoolean().toString()); } super.marshallAttributes(xmlObject, domElement); } }
/** {@inheritDoc} */ public void marshallAttributes(XMLObject samlObject, Element domElement) { IndexedEndpoint iEndpoint = (IndexedEndpoint) samlObject; if (iEndpoint.getIndex() != null) { domElement.setAttributeNS(null, IndexedEndpoint.INDEX_ATTRIB_NAME, iEndpoint.getIndex().toString()); } if (iEndpoint.isDefaultXSBoolean() != null) { domElement.setAttributeNS(null, IndexedEndpoint.IS_DEFAULT_ATTRIB_NAME, iEndpoint.isDefaultXSBoolean() .toString()); } super.marshallAttributes(samlObject, domElement); } }
/** {@inheritDoc} */ protected void marshallAttributes(XMLObject samlObject, Element domElement) throws MarshallingException { NameIDPolicy policy = (NameIDPolicy) samlObject; if (policy.getFormat() != null) { domElement.setAttributeNS(null, NameIDPolicy.FORMAT_ATTRIB_NAME, policy.getFormat()); } if (policy.getSPNameQualifier() != null) { domElement.setAttributeNS(null, NameIDPolicy.SP_NAME_QUALIFIER_ATTRIB_NAME, policy.getSPNameQualifier()); } if (policy.getAllowCreateXSBoolean() != null) { domElement.setAttributeNS(null, NameIDPolicy.ALLOW_CREATE_ATTRIB_NAME, policy.getAllowCreateXSBoolean() .toString()); } } }
/** {@inheritDoc} */ protected void marshallAttributes(XMLObject xmlObject, Element domElement) throws MarshallingException { ChannelBindings cb = (ChannelBindings) xmlObject; if (cb.getType() != null) { domElement.setAttributeNS(null, ChannelBindings.TYPE_ATTRIB_NAME, cb.getType()); } if (cb.isSOAP11MustUnderstandXSBoolean() != null) { XMLHelper.marshallAttribute(ChannelBindings.SOAP11_MUST_UNDERSTAND_ATTR_NAME, cb.isSOAP11MustUnderstandXSBoolean().toString(), domElement, false); } if (cb.getSOAP11Actor() != null) { XMLHelper.marshallAttribute(ChannelBindings.SOAP11_ACTOR_ATTR_NAME, cb.getSOAP11Actor(), domElement, false); } }
/** {@inheritDoc} */ protected void marshallAttributes(XMLObject xmlObject, Element domElement) throws MarshallingException { RequestAuthenticated ra = (RequestAuthenticated) xmlObject; if (ra.isSOAP11MustUnderstandXSBoolean() != null) { XMLHelper.marshallAttribute(RequestAuthenticated.SOAP11_MUST_UNDERSTAND_ATTR_NAME, ra.isSOAP11MustUnderstandXSBoolean().toString(), domElement, false); } if (ra.getSOAP11Actor() != null) { XMLHelper.marshallAttribute(RequestAuthenticated.SOAP11_ACTOR_ATTR_NAME, ra.getSOAP11Actor(), domElement, false); } }
/** {@inheritDoc} */ protected void marshallAttributes(XMLObject samlObject, Element domElement) throws MarshallingException { GeneratedKey key = (GeneratedKey) samlObject; if (key.isSOAP11MustUnderstandXSBoolean() != null) { XMLHelper.marshallAttribute(GeneratedKey.SOAP11_MUST_UNDERSTAND_ATTR_NAME, key.isSOAP11MustUnderstandXSBoolean().toString(), domElement, false); } if (key.getSOAP11Actor() != null) { XMLHelper.marshallAttribute(GeneratedKey.SOAP11_ACTOR_ATTR_NAME, key.getSOAP11Actor(), domElement, false); } } }
/** {@inheritDoc} */ protected void marshallAttributes(XMLObject xmlObject, Element domElement) throws MarshallingException { RelayState relayState = (RelayState) xmlObject; if (relayState.isSOAP11MustUnderstandXSBoolean() != null) { XMLHelper.marshallAttribute(RelayState.SOAP11_MUST_UNDERSTAND_ATTR_NAME, relayState.isSOAP11MustUnderstandXSBoolean().toString(), domElement, false); } if (relayState.getSOAP11Actor() != null) { XMLHelper.marshallAttribute(RelayState.SOAP11_ACTOR_ATTR_NAME, relayState.getSOAP11Actor(), domElement, false); } }
/** {@inheritDoc} */ protected void marshallAttributes(XMLObject samlObject, Element domElement) throws MarshallingException { SessionKey key = (SessionKey) samlObject; if (key.isSOAP11MustUnderstandXSBoolean() != null) { XMLHelper.marshallAttribute(SessionKey.SOAP11_MUST_UNDERSTAND_ATTR_NAME, key.isSOAP11MustUnderstandXSBoolean().toString(), domElement, false); } if (key.getSOAP11Actor() != null) { XMLHelper.marshallAttribute(SessionKey.SOAP11_ACTOR_ATTR_NAME, key.getSOAP11Actor(), domElement, false); } if (key.getAlgorithm() != null) { domElement.setAttributeNS(null, SessionKey.ALGORITHM_ATTRIB_NAME, key.getAlgorithm()); } } }
/** {@inheritDoc} */ protected void marshallAttributes(XMLObject xmlObject, Element domElement) throws MarshallingException { Response response = (Response) xmlObject; if (response.getAssertionConsumerServiceURL() != null) { domElement.setAttributeNS(null, Response.ASSERTION_CONSUMER_SERVICE_URL_ATTRIB_NAME, response.getAssertionConsumerServiceURL()); } if (response.isSOAP11MustUnderstandXSBoolean() != null) { XMLHelper.marshallAttribute(Response.SOAP11_MUST_UNDERSTAND_ATTR_NAME, response.isSOAP11MustUnderstandXSBoolean().toString(), domElement, false); } if (response.getSOAP11Actor() != null) { XMLHelper.marshallAttribute(Response.SOAP11_ACTOR_ATTR_NAME, response.getSOAP11Actor(), domElement, false); } }
/** {@inheritDoc} */ protected void marshallAttributes(XMLObject samlObject, Element domElement) throws MarshallingException { SubjectConfirmation sc = (SubjectConfirmation) samlObject; if (sc.isSOAP11MustUnderstandXSBoolean() != null) { XMLHelper.marshallAttribute(SubjectConfirmation.SOAP11_MUST_UNDERSTAND_ATTR_NAME, sc.isSOAP11MustUnderstandXSBoolean().toString(), domElement, false); } if (sc.getSOAP11Actor() != null) { XMLHelper.marshallAttribute(SubjectConfirmation.SOAP11_ACTOR_ATTR_NAME, sc.getSOAP11Actor(), domElement, false); } if (sc.getMethod() != null) { domElement.setAttributeNS(null, SubjectConfirmation.METHOD_ATTRIB_NAME, sc.getMethod()); } } }