Code example for QName

Methods: getLocalPart, getNamespaceURI, getPrefix

0
		} 
	} 
 
	public static XMLObject buildXMLObject(QName objectQName) throws Exception {
 
		XMLObjectBuilder builder = org.opensaml.xml.Configuration.getBuilderFactory().getBuilder(
				objectQName);
		if (builder == null) {
			throw new Exception("Unable to retrieve builder for object QName " + objectQName);
		} 
		return builder.buildObject(objectQName.getNamespaceURI(), objectQName.getLocalPart(),
				objectQName.getPrefix());
	} 
 
	/** 
	 * Generates a unique Id for Authentication Requests 
	 *  
	 * @return generated unique ID 
	 */ 
	public static String createID() {