Package org.opensaml.xml.schema

Examples of org.opensaml.xml.schema.XSQName


    /** {@inheritDoc} */
    protected void unmarshallTextContent(XMLObject xmlObject, Text content) throws UnmarshallingException {
        String textContent = DatatypeHelper.safeTrimOrNullString(content.getWholeText());
        if (textContent != null) {
            XSQName qname = (XSQName) xmlObject;
            qname.setValue(XMLHelper.constructQName(textContent, XMLHelper.getElementAncestor(content)));
        }
    }
View Full Code Here


        // no attributes to marshall
    }

    /** {@inheritDoc} */
    protected void marshallElementContent(XMLObject xmlObject, Element domElement) throws MarshallingException {
        XSQName qname = (XSQName) xmlObject;
        XMLHelper.appendTextContent(domElement, XMLHelper.qnameToContentString(qname.getValue()));
    }
View Full Code Here

    /** {@inheritDoc} */
    protected void unmarshallTextContent(XMLObject xmlObject, Text content) throws UnmarshallingException {
        String textContent = DatatypeHelper.safeTrimOrNullString(content.getWholeText());
        if (textContent != null) {
            XSQName qname = (XSQName) xmlObject;
            qname.setValue(XMLHelper.constructQName(textContent, XMLHelper.getElementAncestor(content)));
        }
    }
View Full Code Here

        // no attributes to marshall
    }

    /** {@inheritDoc} */
    protected void marshallElementContent(XMLObject xmlObject, Element domElement) throws MarshallingException {
        XSQName qname = (XSQName) xmlObject;
        XMLHelper.appendTextContent(domElement, XMLHelper.qnameToContentString(qname.getValue()));
    }
View Full Code Here

TOP

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

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.