protected void startElement(DAVElement parent, DAVElement element, Attributes attrs) throws SVNException { if (element == DAVElement.RESPONSE) { if (myCurrentResource != null) { invalidXML(); } myCurrentResource = new DAVProperties(); myCurrentProperties = new HashMap(); myStatusCode = 0; } else if (element == DAVElement.PROPSTAT) { myStatusCode = 0; } else if (element == DAVElement.COLLECTION) { myCurrentResource.setCollection(true); } else { myEncoding = attrs.getValue("encoding"); } }
protected void startElement(DAVElement parent, DAVElement element, Attributes attrs) throws SVNException { if (element == DAVElement.RESPONSE) { if (myCurrentResource != null) { invalidXML(); } myCurrentResource = new DAVProperties(); myCurrentProperties = new SVNHashMap(); myStatusCode = 0; } else if (element == DAVElement.PROPSTAT) { myStatusCode = 0; } else if (element == DAVElement.COLLECTION) { myCurrentResource.setCollection(true); } else { myEncoding = attrs.getValue(DAVElement.SVN_DAV_PROPERTY_NAMESPACE, "encoding"); } }
protected void startElement(DAVElement parent, DAVElement element, Attributes attrs) throws SVNException { if (element == DAVElement.RESPONSE) { if (myCurrentResource != null) { invalidXML(); } myCurrentResource = new DAVProperties(); myCurrentProperties = new SVNHashMap(); myStatusCode = 0; } else if (element == DAVElement.PROPSTAT) { myStatusCode = 0; } else if (element == DAVElement.COLLECTION) { myCurrentResource.setCollection(true); } else { myEncoding = attrs.getValue(DAVElement.SVN_DAV_PROPERTY_NAMESPACE, "encoding"); } }
protected void startElement(DAVElement parent, DAVElement element, Attributes attrs) throws SVNException { if (element == DAVElement.RESPONSE) { if (myCurrentResource != null) { invalidXML(); } myCurrentResource = new DAVProperties(); myCurrentProperties = new SVNHashMap(); myStatusCode = 0; } else if (element == DAVElement.PROPSTAT) { myStatusCode = 0; } else if (element == DAVElement.COLLECTION) { myCurrentResource.setCollection(true); } else { myEncoding = attrs.getValue(DAVElement.SVN_DAV_PROPERTY_NAMESPACE, "encoding"); } }