new LocalXMLResource(user, brokerPool, this, id, -1, properties);
new LocalXMLResource(user, brokerPool, this, id, -1);
	public Resource createResource(String id, String type)		throws XMLDBException {		if (id == null)			id = createId();		Resource r = null;		if(type.equals("XMLResource"))			r =				new LocalXMLResource(user, brokerPool, this, id, -1, properties);		else if(type.equals("BinaryResource"))			r = new LocalBinaryResource(user, brokerPool, this, id);		else			throw new XMLDBException(ErrorCodes.INVALID_RESOURCE,				"unknown resource type: " + type);		return r;	}