Code example for QName

Methods: getLocalPartgetNamespaceURIgetPrefix

     * @param objectQName: QName of the object to be built into a XMLObject 
     * @return built xmlObject 
     * @throws EntitlementAgentException 
    private XMLObject buildXMLObject(QName objectQName) throws EntitlementAgentException {
        XMLObjectBuilder builder = org.opensaml.xml.Configuration.getBuilderFactory().getBuilder(objectQName);
        if (builder == null) {
            throw new EntitlementAgentException("Unable to retrieve builder for object QName " 
                    + objectQName);
        return builder.buildObject(objectQName.getNamespaceURI(), objectQName.getLocalPart(),
     * Create the issuer object to be added 
     * @return : the issuer of the statements 
    private static Issuer createIssuer() { 
Stop searching for code, let great code find you!  Add Codota to your java IDE