Package org.opensaml.xml.schema

Examples of org.opensaml.xml.schema.XSBase64Binary


            // TODO remove this else if condition after WSO2 IS supports claim
            // types properly
            if (claim.getUri().equals(IdentityConstants.CLAIM_PPID)) {
                XSBase64BinaryBuilder ppidValueBuilder = (XSBase64BinaryBuilder) builderFactory
                        .getBuilder(XSBase64Binary.TYPE_NAME);
                XSBase64Binary ppidValue = ppidValueBuilder.buildObject(
                        AttributeValue.DEFAULT_ELEMENT_NAME, XSBase64Binary.TYPE_NAME);
                ppidValue.setValue(claim.getValue());
                attribute.getAttributeValues().add(ppidValue);
            } else {
                XSStringBuilder attributeValueBuilder = (XSStringBuilder) builderFactory
                        .getBuilder(XSString.TYPE_NAME);
View Full Code Here


        // no attributes
    }

    /** {@inheritDoc} */
    protected void marshallElementContent(XMLObject xmlObject, Element domElement) throws MarshallingException {
        XSBase64Binary xsBase64Binary = (XSBase64Binary) xmlObject;

        XMLHelper.appendTextContent(domElement, xsBase64Binary.getValue());
    }
View Full Code Here

        // no attributes
    }

    /** {@inheritDoc} */
    protected void processElementContent(XMLObject xmlObject, String elementContent) {
        XSBase64Binary xsBase64Binary = (XSBase64Binary) xmlObject;

        if (elementContent != null) {
            xsBase64Binary.setValue(elementContent.trim());
        }
    }
View Full Code Here

        // no attributes
    }

    /** {@inheritDoc} */
    protected void marshallElementContent(XMLObject xmlObject, Element domElement) throws MarshallingException {
        XSBase64Binary xsBase64Binary = (XSBase64Binary) xmlObject;

        XMLHelper.appendTextContent(domElement, xsBase64Binary.getValue());
    }
View Full Code Here

        // no attributes
    }

    /** {@inheritDoc} */
    protected void processElementContent(XMLObject xmlObject, String elementContent) {
        XSBase64Binary xsBase64Binary = (XSBase64Binary) xmlObject;

        if (elementContent != null) {
            xsBase64Binary.setValue(elementContent.trim());
        }
    }
View Full Code Here

TOP

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

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.