public static DAVElement getElement(String namespace, String name) { if (namespace == null) { namespace = ""; } Map properties = (Map) ourProperties.get(namespace); if (properties == null) { properties = new HashMap(); ourProperties.put(namespace, properties); } name = name.replace(XMLReader.COLON_REPLACEMENT, ':'); DAVElement property = (DAVElement) properties.get(name); if (property == null) { property = new DAVElement(namespace, name); properties.put(name, property); } return property; }
public static DAVElement getElement(String namespace, String name) { if (namespace == null) { namespace = ""; } Map properties = (Map) ourProperties.get(namespace); if (properties == null) { properties = new SVNHashMap(); ourProperties.put(namespace, properties); } name = name.replace(XMLReader.COLON_REPLACEMENT, ':'); DAVElement property = (DAVElement) properties.get(name); if (property == null) { property = new DAVElement(namespace, name); properties.put(name, property); } return property; }
public static DAVElement getElement(String namespace, String name) { if (namespace == null) { namespace = ""; } Map properties = (Map) ourProperties.get(namespace); if (properties == null) { properties = new SVNHashMap(); ourProperties.put(namespace, properties); } name = name.replace(XMLReader.COLON_REPLACEMENT, ':'); DAVElement property = (DAVElement) properties.get(name); if (property == null) { property = new DAVElement(namespace, name); properties.put(name, property); } return property; }
public static DAVElement getElement(String namespace, String name) { if (namespace == null) { namespace = ""; } Map properties = (Map) ourProperties.get(namespace); if (properties == null) { properties = new SVNHashMap(); ourProperties.put(namespace, properties); } name = name.replace(XMLReader.COLON_REPLACEMENT, ':'); DAVElement property = (DAVElement) properties.get(name); if (property == null) { property = new DAVElement(namespace, name); properties.put(name, property); } return property; }