List of usage examples for com.liferay.portal.kernel.xml Namespace getURI
public String getURI();
From source file:it.smc.calendar.sync.caldav.BasePropsProcessor.java
License:Open Source License
protected void processCustomProperties(Set<QName> props) throws Exception { WebDAVProps webDavProps = WebDAVPropsLocalServiceUtil.getWebDAVProps(webDAVRequest.getCompanyId(), resource.getClassName(), resource.getPrimaryKey()); Set<QName> customProps = webDavProps.getPropsSet(); for (QName qname : props) { String name = qname.getName(); Namespace namespace = qname.getNamespace(); String prefix = namespace.getPrefix(); String uri = namespace.getURI(); if (customProps.contains(qname)) { String text = webDavProps.getText(name, prefix, uri); DocUtil.add(successPropElement, qname, text); } else {/* w w w. ja va 2 s . com*/ DocUtil.add(failurePropElement, qname); } } }